Skip to content

feat(python-cli-parity): create Jira tasks from scan reports - #1837

Open
John-David Dalton (jdalton) wants to merge 1 commit into
parity/2246-slack-reachabilityfrom
jdalton/surf-2239-create-jira-tasks-from-scan
Open

John-David Dalton (jdalton) wants to merge 1 commit into
parity/2246-slack-reachabilityfrom
jdalton/surf-2239-create-jira-tasks-from-scan

Conversation

@jdalton

@jdalton John-David Dalton (jdalton) commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

CI pipelines can create or update Jira Tasks from Socket scan reports, so findings show up in the team's existing issue workflow. Jira delivery is independently enabled with CI secrets and does not affect scan pass/fail decisions; reruns for the same repository, branch, pull request, and commit update the existing task.

The shared scan notification dispatcher keeps Jira delivery compatible with Slack webhook and bot notifications.

@cursor

cursor Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

PR Summary

Medium Risk
Introduces outbound HTTPS calls with API tokens and issue create/update behavior, but misconfiguration or Jira errors are warning-only and do not alter blocking exit codes.

Overview
Adds optional Jira Task notifications for scan and diff reports that have findings, gated by SOCKET_JIRA_ENABLED and SOCKET_JIRA_CONFIG_JSON. The integration searches for an existing issue by a stable label (repo, branch, PR, commit) and updates it on reruns instead of opening duplicates; issue bodies use Jira ADF with a linked scan URL and a findings table (alert, package, source, manifest).

Scan notification delivery is refactored through dispatchScanNotifications, which runs enabled providers (Jira and Slack) independently and logs warnings on failure without affecting CI pass/fail. Notification payloads now carry pullRequest and commitSha from scan creation into report builders. Docs cover the new env vars and socket ci usage.

Reviewed by Cursor Bugbot for commit 4be1f84. Configure here.

@jdalton John-David Dalton (jdalton) changed the title jdalton/surf 2239 create jira tasks from scan feat(python-cli-parity): create Jira tasks from scan reports Dec 4, 2026
@jdalton
John-David Dalton (jdalton) force-pushed the jdalton/surf-2239-create-jira-tasks-from-scan branch from f59b76b to 1496934 Compare December 4, 2026 06:09
@jdalton
John-David Dalton (jdalton) force-pushed the jdalton/surf-2239-create-jira-tasks-from-scan branch from 1496934 to 4be1f84 Compare December 4, 2026 06:10

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 5 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 4be1f84. Configure here.

@jdalton
John-David Dalton (jdalton) force-pushed the jdalton/surf-2239-create-jira-tasks-from-scan branch from 4be1f84 to 6b14ee3 Compare December 4, 2026 06:16
@jdalton
John-David Dalton (jdalton) force-pushed the jdalton/surf-2239-create-jira-tasks-from-scan branch 3 times, most recently from bca84b4 to c7fb1a7 Compare December 4, 2026 14:38
@jdalton
John-David Dalton (jdalton) force-pushed the jdalton/surf-2239-create-jira-tasks-from-scan branch from c7fb1a7 to 6a4ebb2 Compare December 4, 2026 17:41
@jdalton
John-David Dalton (jdalton) force-pushed the jdalton/surf-2239-create-jira-tasks-from-scan branch from 6a4ebb2 to d57e629 Compare December 4, 2026 17:47

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant