Skip to content
Merged
Changes from all 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: 3 additions & 1 deletion dojo/jira_link/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,9 @@ def check_for_and_create_comment(parsed_json):
finding.notes.add(new_note)
finding.jira_issue.jira_change = timezone.now()
finding.jira_issue.save()
finding.save()
# Only update the timestamp, not other fields like 'active' to avoid
# race conditions with concurrent webhook events (e.g. issue_updated)
finding.save(update_fields=["updated"])
return None


Expand Down