Learn how to configure DevOps Intelligence to collect data generated by Jira, extending the single pane of glass DevOps Intelligence affords in your hybrid IT estate.
Jira Software is part of a family of products designed to help teams of all types manage work. Originally, Jira was designed as a bug and issue tracker. But today, Jira has evolved into a powerful work management tool for all kinds of use cases, from requirements and test case management to agile software development.
The following items are prerequisite to integration:
Jira Account:
User should have an active Jira account on the specific Jira instance user want to connect to. If user don't have one, user need to sign up for a Jira account.
Access to Jira Instance:
Ensure that User have access to the specific Jira instance where the projects, components, and issues are hosted. Users need the URL or web address of the Jira instance user want to connect to.
Project Membership:
Users must be part of the Jira projects user intend to access. Ensure that users have the necessary project membership to retrieve information about projects, components, and issues.
Access Policy as Platform Administrator and DevOps Intelligence Administrator:
Ensure that the user creating the connection has the necessary access policies. The user should have the Platform Administrator role to create and manage connections effectively. The user needs the DevOps Intelligence Administrator role, which allows them to create and manage configurations.
Jira REST API Version Compatibility
DevOps Intelligence relies on Jira's REST API, and it is designed to work with a specific version. As of now, the integration is aligned with Jira REST API version 2 (/rest/api/2/). It's crucial to ensure that Jira is using a compatible version for the integration to function optimally.
Integration of Jira with DevOps Intelligence
DevOps Intelligence pulls data from GitHub Actions such as Build and Deploy details, including its unique identifier, status, time stamp, duration, and cause. The process for onboarding GitHub actions comprises the following steps, each of which is a multistep procedure:
Create a Personal Access Token.
Create a connection.
Configure the application.
Onboard the Jira technical service.
Create a Personal Access Token
Jira API Tokens are used as a form of authentication in Jira Services to access and interact with its resources programmatically or through APIs. Use the following procedure to create a Jora token:
Navigate to the top right corner of the Jira homepage.
Click on your profile picture and select
Manage Account
.
Go to the
Security
tab.
Click on
Create and manage API tokens
.
Select
Create API token
.
Create a connection
To pull data from GitHub Actions, you must establish a connection between DevOps Intelligence and GitHub Actions. Use the following procedure:
Click on
Settings
→
IAM
→
Connections
→
Add New
→
Add connection
.
Select
Add Connection
.
Select the appropriate authentication type.
If you are using a Proxy Adapter to access DevOps Intelligence through an intermediary layer, Enter the UUID for the adapter in the Proxy ID field.
When the sync-all is enabled, all the organization and repositories for which the user has access will be synced.
When the Archive is enabled, the connection is archived for future use.
For OAuth-based authentication, follow the steps given here to get the below-required fields:
ConsumerKey:
Given on Jira Application Link Page.
PrivateKey:
Private key (.pem format) of the public key generated while configuring Jira Application Link Page.
Secret:
Generated after User confirmation from a Dialog box.
AccessToken:
Generated value using Secret.
Configuring DevOps for GitHub Actions, recent customers
The procedures in this section are valid only for customers onboarded 6 June, 2024 or after. Procedures for legacy customers are provided in the subsequent section Configure DevOps Intelligence for GitHub, legacy customers.
Having created a connection, you must now configure the application.Use the following procedure:
Click
Settings & Utilities
→
Application Configuration
.
Select an existing application or create a new application.
Navigate to
Add Tools
step.
Select the phase as
Plan
.
Click
Add Tool Configuration
.
Complete the configurations, presented in the following tabs:
Release
Work Item Format
Bug Formats
Bug Severity
Bug Status
Onboard the Jira technical service
You must now onboard the technical service. Use the following procedure:
Click
Settings & Utilities
→
Application Configurations
.
Click the overflow menu for the chosen application and click on
Onboard Technical Service
.
Select the phase as
Plan
.
For
Tool engine
, select Jira.
For
Connection
, select the appropriate connection name from the drop down.
Enter the Technical Service name.
You can select Project tracking or Component tracking. Onboarding technical services are always configured as mutually exclusive. If two users having same privileges attempt to create technical service for the same project/component, only the first user is allowed to create the technical service because the project/component is already configured. The service will not be listed for the second user to configure. This behavior applies to sync.
For project tracking, select the Project Name from the dropdown. Configured projects are omitted from the list. The
Component
field should remain empty.
For Component tracking, select the Project name and the component name.
Deleting the technical service
The administrator may, at will, delete the GitHub technical service. Use the following procedure:
Click
Settings & Utilities
→
Application Configuration
.
Expand the application to see all the associated phases.
Click the Overflow menu against the Plan phase.
Click
Delete Technical Service
.
For tool engine select
Jira
.
Select the appropriate Projects and Components.
Click
Delete
.
Configuring DevOps for GitHub Actions, legacy customers
The user needs to select the Project that needs to be tracked through the DevOps Intelligence and its respective Components. Then, tracking can be done at two levels:
Project Level
: This will track all the entities of a given project if no components selected
Components Level
: This will track issues only for those selected Components
Project Level tracking
For this type of tracking, certain selections have to be made in the system, as follows:
Tool engine
: Jira
Technical service name
: It could be any string and is used only for reference.
Project
: Here, the user must select
Project
Name from the dropdown. The already configured project will be omitted from the list.
Component
: At project-level tracking, this field should be empty.
The following is an image of the Project Level Tracking configuration screen:
Component Level Tracking
For this type of tracking, certain selections have to be made in the system, as follows:
Tool engine
: Jira
Technical service name
: It could be any string and is used only for reference.
Project
: Here, the user must select
Project
Name from the dropdown. The already configured project will be omitted from the list.
Component
: At project-level tracking, this field should be empty.
APIKey:
Personal access token, generated from the following menu selection: your profile and settings → personal settings → app passwords. If the configuration is successful, then a window will appear that shows a table with the configuration details.
The Sync Feature scans current data for visibility after configuring credentials at periodic intervals. The intervals are set as follows:
The account Sync Interval is set to 5 mins: Refresh current data
The account Delete Interval is set to 7 mins: All deleted accounts updated
The history pulled Interval is set to 180 days: Data history
For more details, see your Delivery representative.