Connect with Jira Data Center
Integrate Harness AIDI with Jira Data Center.
Jira Data Center is the self-managed, enterprise edition of Jira. This page explains how you can integrate Harness Software Engineering Insights with Jira Data Center.
Authenticate with Jira
Before you configure the SEI Jira integration, you must generate an Atlassian API token.
Create an Atlassian API token. For instructions, go to the Atlassian documentation on Managing API tokens for your Atlassian account.
Make sure to copy the token somewhere that you can retrieve it when you configure the integration.
Add the Jira integration
To integrate Harness SEI with Jira Data Center, choose your Jira type as Jira Data Center.
To connect with the on-prem instances of Jira Software Data Center, you can use the Ingestion Satellite. The configuration process for the integration is similar to setting up the integration in the cloud but instead uses the ingestion satellite to communicate with the Atlassian server.
To set up the integration for the Jira Data Center:
In your Harness Project, go to the SEI Module, and select Account.
Select Integrations under Data Settings.
Select Available Integrations, locate the Jira integration, and select Install.
Select Jira Software Data Center as the integration type.
Choose the Connect via Satellite option.
Define the integration settings:
Integration Name: Name for your integration.
Description (optional): Add a description for the integration.
Tags (optional): Add tags for the integration if required.
Configure the integration settings and authentication:
Enter the URL of your Jira On-prem instance, for example,
<https://JIRA.ORGANIZATION-DOMAIN>. Ensure it's a valid URL.Select the authentication method. You can choose between Using Jira Personal Access Token (recommended) or Jira Username and Password.
If using a personal access token, enter the token.
If using a username and password, enter the username and associated password.
Configure advanced integration settings as needed:
Select your preferred time zone from the available options.
Choose which fields you want to exclude from ingestion.
You may want to exclude fields containing sensitive information like summary, description, and comments. Excluded fields won't be evaluated for hygiene or best practices compliance.
Once you've configured the integration, click on Download YAML File to download the satellite.yml file.
Once you have downloaded the satellite.yml file, update it by following the instructions here.
Here’s a sample satellite.yml file which uses username and password for authentication.
Here’s a sample satellite.yml file which uses a Personal Access Token for authentication.
To set up the integration for the cloud instance of Jira Data Center, follow the steps below:
In your Harness Project, go to the SEI Module, and select Account.
Select Integrations under Data Settings.
Select Available Integrations, locate the Jira integration, and select Install.
Select Jira Software Data Center as the integration type.
Choose the Connect via Cloud option.
Define the integration settings:
Integration Name: Name for your integration.
Description (optional): Add a description for the integration.
Tags (optional): Add tags for the integration if required.
Configure the integration settings and authentication:
Enter the URL of your Jira On-prem instance, for example,
<https://JIRA.ORGANIZATION-DOMAIN>. Ensure it's a valid URL.Select the authentication method. You can choose between Using Jira Personal Access Token (recommended) or Jira Username and Password.
If using a personal access token, enter the token.
If using a username and password, enter the username and associated password.
Configure advanced integration settings as needed:
Select your preferred time zone from the available options.
Choose which fields you want to exclude from ingestion.
You may want to exclude fields containing sensitive information like summary, description, and comments. Excluded fields won't be evaluated for hygiene or best practices compliance.
Click on Validate Connection to run the pre-flight checks and validate the connection. Once successful, you'll have the integration set up under the Your Integrations tab.
Troubleshooting
Here are some troubleshooting suggestions for Jira integrations.
While using a username and password for authentication if the satellite fails to set up the connection, edit the generated
satellite.ymlfile and use your Jira password as a value forapi_keyin the YAML and keep theuser_nameas is.
Test with the following curl command:
While using the generated managed token (Bearer token) for authentication leave the
user_nameblank and use the managed token that you are generating forapi_key.
Test with the following curl command:
If you encounter issues with configuring the Ingestion Satellite, refer to the Troubleshooting and FAQs.
See also
Last updated
Was this helpful?