Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions dojo/jira_link/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,10 @@
@dojo_model_from_id(model=Finding_Group)
def push_finding_group_to_jira(finding_group, *args, **kwargs):
if finding_group.has_jira_issue:
# Look for findings that have single ticket associations seperate from the group
for finding in finding_group.findings.filter(jira_issue__isnull=False):
update_jira_issue(finding, *args, **kwargs)
#Update the jira issue for the group

Check failure on line 790 in dojo/jira_link/helper.py

View workflow job for this annotation

GitHub Actions / ruff-linting

Ruff (E265)

dojo/jira_link/helper.py:790:9: E265 Block comment should start with `# `
Comment thread
Maffooch marked this conversation as resolved.
Outdated
return update_jira_issue(finding_group, *args, **kwargs)
return add_jira_issue(finding_group, *args, **kwargs)
Comment thread
valentijnscholten marked this conversation as resolved.

Expand Down
Loading