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 OneTest™ Server. The Xray API keys are used by Jira to authenticate the requests from HCL OneTest™ Server.
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 HCL OneTest™ Server. 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 HCL OneTest™ Server. See Configuring the Xray integration.