Jira Integration

DevGuard integrates with Jira to provide vulnerability ticket management in your existing issue tracking workflow.

Overview

The Jira integration provides:

  • Issue Creation: Create Jira issues for discovered vulnerabilitiesthis can happen automatically for dependency vulnerabilities when they exceed a threshold, or manually by users for any vulnerability type
  • Issue Updates: Sync vulnerability status changes to Jira
  • Webhook Processing: React to issue transitions and comments in real-time
  • Bidirectional Sync: Comments in Jira can update vulnerability status in DevGuard

Integration Setup

The Jira integration requires an API token and user email for authentication:

FieldDescription
URLYour Jira instance URL (e.g., https://company.atlassian.net)
TokenJira API token for authentication
UserEmailEmail address of the Jira user for the API token
NameA friendly name for this integration

How It Works

  1. Configure Integration: Add your Jira instance URL, API token, and user email in DevGuard
  2. Link Asset: Connect a DevGuard asset to a Jira project
  3. Create Issues: Vulnerabilities can be pushed to Jira as issues (automatically or manually)
  4. Sync Status: Changes in either system are synchronized via webhooks

Issue Creation

When a vulnerability is flagged for remediation, DevGuard creates a Jira issue containing detailed information about the vulnerability, including severity, affected components, and labels for categorization.

Comment Commands

Users can control vulnerability status through Jira comments:

CommandEffect
/accept <reason>Accept the vulnerability risk
/component-not-present <reason>Mark as false positive
/vulnerable-code-not-present <reason>Mark as false positive
/vulnerable-code-not-in-execute-path <reason>Mark as false positive
/vulnerable-code-cannot-be-controlled-by-adversary <reason>Mark as false positive
/inline-mitigations-already-exist <reason>Mark as false positive
/reopenReopen a closed vulnerability

Webhook Processing

DevGuard processes Jira webhooks to synchronize issue state changes.

Processed Events

EventAction
Issue ClosedVulnerability marked as accepted
Issue ReopenedVulnerability reopened
Comment AddedProcess slash commands

Issue State Synchronization

DevGuard manages Jira issue states through transitions:

Jira Status CategoryDevGuard Interpretation
To DoOpen vulnerability
In ProgressOpen vulnerability
DoneClosed vulnerability

Priority Mapping

DevGuard automatically sets the Jira issue priority based on vulnerability severity:

SeverityJira Priority
CriticalHighest
HighHighest
MediumDefault
LowDefault

Testing the Integration

When saving a Jira integration, DevGuard validates:

  1. API Token: Tests authentication with Jira API
  2. User Email: Retrieves the Account ID for the provided email
  3. Connection: Verifies connectivity to the Jira instance