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.
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:
How to link a PR to a Jira ticket
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)
Method 2: Branch name detection
Prefix your branch name with the ticket ID, for example:ISSUE-123-feature-descriptionfeature/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:
<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:- Install the Qodo app on each Jira Cloud instance you want to connect.
- In your configuration file, set the default server for ticket ID resolution:
https://other-team.atlassian.net/browse/TASK-456) automatically resolve to the correct connected Jira instance.