We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b2cc4c commit 1363dd3Copy full SHA for 1363dd3
1 file changed
dojo/jira_link/views.py
@@ -285,7 +285,9 @@ def check_for_and_create_comment(parsed_json):
285
finding.notes.add(new_note)
286
finding.jira_issue.jira_change = timezone.now()
287
finding.jira_issue.save()
288
- finding.save()
+ # Only update the timestamp, not other fields like 'active' to avoid
289
+ # race conditions with concurrent webhook events (e.g. issue_updated)
290
+ finding.save(update_fields=["updated"])
291
return None
292
293
0 commit comments