Skip to main content

Jira Data Center

Jira is a platform for a software team to track and manage their work. You can bring the issues created in Jira into Brinqa to construct a unified view of your attack surface and strengthen your cybersecurity posture. You can also push the remediation tickets created in Brinqa Platform to Jira.

This document details the information you must provide for the connector to authenticate with Jira Data Center and how to obtain that information from Jira. See create a data integration for step-by-step instructions on setting up the integration.

Required connection settings

Jira Software can be hosted in the cloud or in a data center. If your company uses Jira Data Center, select Jira from the Connector drop-down when setting up a data integration. If you cannot find the connector in the drop-down, make sure that you have installed it first. You must provide the following information to authenticate Jira with Brinqa:

  • Server URL: The Jira Data Center server URL.

  • Access token: The personal access token for your Atlassian account, which must have permissions to query, create, and delete issues in Jira.

Create an access token for your Atlassian account

For the Jira Data Center connector to use the Jira REST API, you must provide an access token. Atlassian does not allow retrieval of an active token, therefore, you must generate a new one instead. To do so, follow these steps:

  1. Log in to your Atlassian account.

  2. You can obtain your personal access token in Confluence or Jira:

    • Confluence: Click your profile photo, click Settings, and then click Personal Access Tokens.

    • Jira: Click your profile photo, click Profile, and then click Personal Access Tokens.

  3. Click Create token.

  4. Enter a name, set an optional expiry date for the token, and then click Create.

    Your access token displays. You cannot view the token again after this. Copy and save it to a safe and secure location.

note

If you do not have permissions to create an access token, contact your Atlassian administrator. For additional information on managing personal access tokens for your Atlassian account, see the Atlassian documentation.

Additional settings

The Jira connector contains additional options for specific configuration:

  • Project key: The 3- or 4-letter abbreviation of your project name. You can specify multiple projects separated by commas, or you can leave this field blank to bring in all Jira projects.

  • Default issue type: The issue type to use when creating new issues in Jira. The default setting is Bug.

  • Page size: The maximum number of records to get per API request. The default setting is 100. It is not recommended to go over 100.

  • Parallel requests: The maximum number of parallel API requests. The default setting is 4.

  • Supports issue linking: Select this option to allow for linking between issues. This option is not selected by default.

  • Convert field values from html to wiki markup: Select this option to convert formatted fields from Jira to wiki markup so that they can be displayed in Confluence. This option is selected by default.

  • Skip certificate verification: Select this option to allow for untrusted certificates.

Types of data to retrieve

The Jira connector can retrieve the following types of data from the Jira REST API:

Table 1: Data retrieved from Jira Data Center

Connector ObjectRequiredMaps to Data Model
IssueYesTicket
info

For detailed steps on how to view the data retrieved from Jira in the Brinqa Platform, see How to view your data.

Operation options

The Jira connector supports the following operation options. See connector operation options for information about how to apply them.

Table 2: Jira connector operation options

Connector ObjectOptionAll Possible ValuesDescriptionExample
IssueissueTypeJira issue types such as Bug, Improvement, or TaskA comma-separated list of Jira issue types.Key: issueType, Value: Task.
This key and value combination only retrieves from Jira all issues of the Task issue type.
projectJira project IDs or project keysA comma-separated list of Jira project IDs or project keys.Key: issueType, Value: DEV, OPS.
This key and value combination retrieves from Jira all issues from the DEV and OPS projects.
queryA JQL queryA query written in the Jira Query Language (JQL).Key: query, Value: reporter = jdoe AND project = DEV.
This key and value combination retrieves from Jira all issues reported by 'jdoe' in the DEV project.
note

The option keys and values are case-sensitive as they are shown in this documentation.

APIs

The Jira connector uses the Jira REST API v2. Specifically, it uses the following endpoints:

  • GET /rest/api/2/field

  • POST /rest/api/2/issue

  • GET /rest/api/2/issue/createmeta

  • DELETE /rest/api/2/issue/{issueIdOrKey}

  • PUT /rest/api/2/issue/{issueIdOrKey}

  • POST /rest/api/2/issue/{issueIdOrKey}/transitions

  • PUT /rest/api/2/issue/{issueIdOrKey}/transitions

  • GET /rest/api/2/issue/{issueIdOrKey}/editmeta

  • POST /rest/api/2/issueLink

  • GET /rest/api/2/issueLinkType

  • GET /rest/api/2/search

Changelog

The Jira connector has undergone the following changes:

3.1.14

3.1.11

  • Improve parent-child relationships in Jira projects by enhancing the linking of Issues to Epics.

3.1.10

  • Fixed an issue where the connector was timing out when retrieving the schema.

3.1.7

  • Added more logging for troubleshooting.

3.1.6

  • Added a date formatter for pushing Date and Date Time attributes.

3.1.5

  • Updated to include all fields when sending tickets to Jira.

3.1.4

  • Enabled you to specify no project or a list of projects when connecting to a Jira server.

3.1.0

  • Added support for Jira Software version 9.x.

3.0.3

  • Enhanced to update tickets (originally created in the Brinqa Platform) when they are moved within Jira.

3.0.2

  • Fixed an issue where Test Connection failed with an error that read "Failed to access any valid project."

3.0.0