Skip to content

Commit

Permalink
Update dojo/jira_link/helper.py
Browse files Browse the repository at this point in the history
Co-authored-by: Charles Neill <[email protected]>
  • Loading branch information
Maffooch and cneill authored Oct 10, 2024
1 parent 9216a4c commit 1da676a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dojo/jira_link/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def can_be_pushed_to_jira(obj, form=None):
return False, f"{to_str_typed(obj)} cannot be pushed to jira as there is no jira project configuration for this product.", "error_no_jira_project"

if not jira_project.enabled:
return False, f"{to_str_typed(obj)} cannot be pushed to jira as there is the jira project is not enabled.", "error_no_jira_project"
return False, f"{to_str_typed(obj)} cannot be pushed to jira as the jira project is not enabled.", "error_no_jira_project"

if not hasattr(obj, "has_jira_issue"):
return False, f"{to_str_typed(obj)} cannot be pushed to jira as there is no jira_issue attribute.", "error_no_jira_issue_attribute"
Expand Down

0 comments on commit 1da676a

Please sign in to comment.