Generating API keys for the Xray app in Jira
You must generate API keys for the Xray app in Jira and use them to configure the Xray integration in HCL DevOps Test Hub (Test Hub). The Xray API keys are used by Jira to authenticate the requests from Test Hub.
Before you begin
You must have completed the following tasks:
-
Read about the prerequisite tasks in Prerequisites.
-
Verified that you can access Jira.
- Ensured that you are assigned a role as a Project Owner or Tester in the project. See Managing access to the server projects.
- Created a project in your team space in Test Hub. See Adding a project.
Procedure
- Log in to Jira.
-
Click
.
The apps that are installed in Jira are listed in the navigation pane.
-
Find the Xray App in the navigation pane, and then click
the API Keys option.
The API Keys page is displayed.
-
Click Create API Key.
The Create API Key dialog is displayed.
- Enter your username in the User field, and then select the username that is displayed.
-
Click Generate.
The API keys are generated and displayed under the Client ID and Client Secret fields.
- Click the Copy icon in the Client ID field to copy the key, and then paste the copied key into a text file.
- Click the Copy icon in the Client Secret field to copy the key, and then paste the copied key into a text file.
Results
What to do next
You must use the Xray API keys to configure the Xray integration in Test Hub. See Configuring the Xray integration.