Integrating with Jira
Overview
This guide will walk you through connecting your Jira account to Drivetrain. Drivetrain supports two integration methods:
Method 1: Basic Authentication
Connect using Jira credentials (Jira On-Premises) or an Atlassian email + basic API token (Jira Cloud).
Method 2: OAuth 2.0 (3LO)
Connect using an authorisation flow for Jira Cloud.
Both methods require that the credentials provided have the appropriate permissions to read the specified objects.
Prerequisites
Before beginning the integration, ensure you have the following:
An active Jira account.
Admin privileges in Drivetrain.
The Jira user account that you use to connect must have the following permissions:
Projects Issues Related entities like versions, components, and boards
Administer Projects or Browse Projects permission
Project roles Project role actors
Administer Projects permission
Users Groups
Browse users and groups global permission
Entities related to Jira Service Management (formerly Jira Service Desk)
Administrators or Service Desk Team project role
Permission and issue security schemes Related entities Webhooks (for registration)
Administer Jira global permission
Jira Setup
Follow the steps below basis the method chosen to integrate your Jira instance on Drivetrain:
Method 1: Basic
How you set up Basic authentication depends on which type of Jira installation you have:
Jira On-Premises
Step 1: Configure Jira for authentication
Store your
UsernameandPassword.
Step 2: Integrating with Drivetrain
Share the following details securely with your Drivetrain implementation team:
Username & Password (created in Step 1)
Jira Host
Port number
Jira Cloud
Step 1: Configure Jira for authentication
In your Atlassian account, create a basic API token by clicking
Create API tokenand store it.In order to create an API token with scopes:
Select
Create API tokenwith scopes.Give your API token a name that describes its purpose.
Select an expiration date for the API token.
Select the app you’d like the API token to access.
Select the scopes to determine what the API token can do in Jira or Confluence.
Select
Create.Select
Copy to clipboard, then paste the token to your script, or save it somewhere safe.
Store the email address for the Atlassian account you used to create the API token.
Step 2: Integrating with Drivetrain
Share the following details securely with your Drivetrain implementation team:
Email Address & API Token from your Atlassian Account (created in Step 1)
Jira Host
Port number
Token expiration is 1 to 365 days.
Method 2: OAuth 2.0 (3LO)
Follow the steps below to integrate your Jira instance on Drivetrain:
The Drivetrain team will send you the authentication link for Jira.
In the setup form, enter your Jira Host, Port number and set the
Authentication TypetoOAuth.Click Authorize to start the OAuth 2.0 authorization flow.
Log in with the Atlassian account that has access to the Jira Cloud instance you are connecting to.
Review on the Permissions page, the requested scopes and click
Allow accessto grant Drivetrain access to your Jira data.Upon granting access, you are automatically redirected back to the Drivetrain dashboard.

No further manual configuration is required. The Jira source will start syncing data using the granted OAuth 2.0 access.
Troubleshooting
If you’re unable to connect Jira to Drivetrain after completing the steps above, reach out to your Drivetrain onboarding partner. In most cases, no additional configuration is required.
Include a screenshot or brief description of the error message. We'll help you troubleshoot and guide you through next steps.
Last updated
Was this helpful?