Polaris supports issue tracking integrations with on-premises Jira Data Center instances via secure tunnel. Once configured, the integration allows Polaris to export issues to Jira tickets. You can also configure integration options to automatically close Jira tickets and keep Polaris triage statuses and Jira ticket statuses in sync automatically.
Prerequisites and technical requirements
The issue tracking integration for Jira requires:
- An on-premises Jira Data Center instance running Jira Software 8.4.0 or later.
- OpenSSL (included on Mac and Linux, but needs to be installed on Windows).
- A secure tunnel that is running and shows a Connected status in Polaris. See Add and manage secure tunnels in the Polaris UI.
- A Polaris Organization Administrator who is also a Jira Administrator (with permissions to link external applications to Jira).
- OAuth keys for authentication between Polaris and Jira. See Create public and private RSA keys.
Issue fields and attributes
Each ticket Polaris creates in Jira includes the following fields:
- Summary: the format of summaries varies, depending on how the ticket was created:
- Tickets for issues you export manually:
Polaris - Project '<Polaris project name>' contains issue '<Issue Type>' - Tickets created for policy violations:
Polaris - Project '<Polaris project name>' contains issues violating policy '<Policy name>'
- Tickets for issues you export manually:
- Description: the format of descriptions varies, depending on how the ticket was created:
- Tickets for issues you export manually: detailed information about the issue, evidence (DAST issues only), remediation guidance, and helpful links.
- Tickets created for policy violations: the name of the violated policy, the names of any violated rules, and links you can use to view violating issues in Polaris.
- Reporter: The name of the user who configured the integration.
Connect Polaris to a Jira Data Center instance
Create public and private RSA keys
Link Polaris to Jira Data Center with a public key
Add a Jira Data Center instance to Polaris
Create integration options for Jira Data Center
After you connect Polaris to Jira, create integration options to control how issue data is exported to Jira tickets, including custom field mappings, ticket title templates, description content, and synchronization settings. Each option is associated with a specific Jira project and issue type. You can create multiple options for different issue types.
- Synchronizing statuses is not supported for bundled tickets (created when more than one issue in Polaris is exported to Jira in a single step, by a policy action or a manual export). Synchronization only works for individually exported issues with a 1:1 link between a Polaris issue and a Jira work item. Bundled tickets can still participate in one-way auto-close, which is triggered when all issues linked to the work item are dismissed or absent in Polaris.
- Triage status changes triggered by two-way synchronization bypass triage approval workflows. When a linked ticket's status changes in the issue tracker, Polaris updates the triage status of the linked issue(s) immediately, even if a triage approval workflow is configured for the organization, application, or project. If you require approval for every triage status change, configure one-way synchronization (Polaris to Jira) instead.
The new option appears in the list of Jira Options for that integration. You can now enable this option at the project level. See Connect a Polaris project to Jira Data Center for information on enabling integration options for a project.
If necessary, repeat these steps to create options for other Jira issue types.
Connect a Polaris project to Jira Data Center
Include individual branches in issue tracking synchronization
When the project-level branch scope is set to All branches, you can control which individual branches participate in issue tracking synchronization.
Before you can configure individual branches, you must:
- Create Jira Data Center integration options (see Create integration options for Jira Data Center).
- Connect the project to a Jira Data Center instance, select an integration option, and set the branch scope to All branches (see Connect a Polaris project to Jira Data Center).
When the branch scope is All branches, Polaris considers all synchronized branches when determining whether to automatically close a Jira ticket. You can include or exclude individual branches from synchronization to control which branches participate. This is useful when you want to track issue resolution across specific branches (such as release branches) or exclude branches such as feature branches from auto-close behavior. An exported issue must be dismissed or absent across all participating branches before the associated ticket is closed.
Organization Administrators, Organization Application Managers, Application Administrators, Application Contributors, and other users with permissions to manage branch settings can complete these steps.
The branch is now included in issue tracking synchronization. When issues linked to Jira tickets become absent or are dismissed across all synchronized branches (including this one), Polaris will automatically close the associated Jira tickets.