This page describes the issue tracking integration for Jira. Once configured, the integration allows Polaris to create tickets in Jira for issues. 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:
- A classic Jira Cloud instance running the latest long term support release. Important: The Jira instance must be routable over the Internet. Closed networks are not supported at this time. Jira Next-Gen is not supported.
- Only Organization Administrators can connect Polaris to Jira. The Organization Administrator who configures the integration must also be a Jira Administrator (with permissions to link external applications to Jira).
- Authentication between Jira and Polaris is through OAuth. You will need to create public and private OAuth keys, as described in this article.
Issue fields and attributes
Each ticket Polaris creates in Jira includes the following fields:
- Summary: the format of summaries vary, 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 vary, 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 instance
- Create public and private RSA Keys
- Link Polaris to Jira with a public key
- Add a Jira instance to Polaris
Each one of these tasks is explained in more detail below.
Create public and private RSA Keys
Link Polaris to Jira with a public key
Add a Jira instance to Polaris
Create integration options for Jira
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.
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 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
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 Options (see Create integration options for Jira).
- Connect the project to Jira, select a Jira Option, and set the branch scope to All branches (see Connect a Polaris project to Jira).
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.
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.