Skip to main content

Jira Cloud

Jira is supported as an external ticketing integration and can be used with supported repository platforms by referencing tickets in the PR description or branch name.

Jira app authentication

The recommended way to authenticate with Jira Cloud is to install the Qodo app in your Jira Cloud instance. This will allow Qodo to access Jira data on your behalf.
1
Go to the Qodo Integrations page.
2
Click Connect Jira Cloud to connect the Jira Cloud app.
3
Click Accept.
4
After installing the app, you’ll be redirected to the Qodo registration page with a confirmation message.
Qodo can now fetch Jira ticket context for your pull requests.

Jira Data Center/Server

Personal Access Token (PAT) authentication

Authenticate with Jira Data Center or Server using a Personal Access Token (PAT). Add the following values to your configuration file, environment variables, or secrets file:

Validate PAT authentication via Python script

If you’re experiencing issues retrieving tickets in Qodo when using PAT authentication, you can validate the setup with a Python script. The steps below help verify that PAT authentication is working correctly and that Jira ticket details are accessible.
1
Run:
2
Run the following Python script. Make sure to replace the placeholders with your actual values:
Qodo automatically detects Jira tickets using one of the following methods:

Method 1: PR description reference

Include a ticket reference in your pull request description using either:
  • The full Jira ticket URL: https://<JIRA_ORG>.atlassian.net/browse/<TICKET_ID>
  • The shortened ticket ID (for example, ISSUE-123)
For shortened ticket IDs, the Jira base URL must be configured (see below).

Method 2: Branch name detection

Prefix your branch name with the ticket ID, for example:
  • ISSUE-123-feature-description
  • feature/ISSUE-123/feature-description

Jira base URL

For shortened ticket IDs or branch name detection (Jira Cloud), configure the Jira base URL in your configuration file under the [jira] section:
Where <JIRA_ORG> is your Jira organization identifier (for example, mycompany for https://mycompany.atlassian.net).

Multi-JIRA server configuration

Qodo supports connecting to multiple JIRA servers using different authentication methods.

PAT auth

Configure multiple servers using Personal Access Token authentication in your configuration file. Example Configuration:

Jira Cloud app

For Jira Cloud instances using app authentication:
  1. Install the Qodo app on each Jira Cloud instance you want to connect.
  2. In your configuration file, set the default server for ticket ID resolution:
Full URLs (for example, https://other-team.atlassian.net/browse/TASK-456) automatically resolve to the correct connected Jira instance.