Xray Cloud only. Xray Server and Data Center use a different API and are not
supported.Authentication: an Xray API key (a Client ID and Client Secret pair).
QA.tech uses these to mint a short-lived token internally and refreshes it for
you. The Client Secret is stored encrypted and is never shown again after you
save it.The Xray API key is separate from your Jira login. A Jira OAuth connection
does not authenticate Xray, so you generate a dedicated key as shown below.Region: choose Global, United States, Europe, or Australia to match where
your Xray Cloud data is hosted. Data-residency sites reject the global host.
How it compares to Custom MCP
Xray is a first-party integration: you enter your API key and QA.tech handles the connection, including token refresh. This is different from Custom MCP servers, where you bring your own MCP server. If you only need to read Xray tests into chat, use this integration. Use Custom MCP to connect a different MCP server, whether you host it yourself or point at a hosted one.Before you start
Generate an Xray API key in Jira. This requires an Xray administrator.1
Open Xray API Keys
In Jira, go to Apps → Xray → Global Settings → API Keys.
2
Generate a key
Create an API key and copy its Client ID and Client Secret. Xray
shows the secret only once. See the Xray API Keys
docs
for details.
Setup
1
Open the Xray integration
In your project, go to Settings → Integrations and select Xray.
2
Enter your credentials
Fill in:
- Region: Global, United States, Europe, or Australia. Match your Xray Cloud data residency. Sites in the United States, Europe, or Australia fail if you leave this on Global.
- Client ID: the client id from your Xray API key
- Client Secret: the client secret from the same key
3
Test the connection
Click Test connection to confirm QA.tech can reach Xray. It reports how
many tests it fetched against the total it can see, which confirms the key
works and can read your tests.
Using Xray in chat
Once connected, ask the AI Chat Assistant to work with your Xray tests. It reads them through your project’s API key.
Example prompts:
“List the Xray tests in project ABC”
“Find Xray tests labelled smoke in the Checkout folder”
“Open Xray test ABC-123 and create an equivalent QA.tech test”
Test types it can read
Xray stores tests in a few shapes, and the assistant reads all of them:- Manual tests, as ordered steps with actions and expected results.
- Cucumber tests, as their Gherkin scenario text.
- Generic tests, as their unstructured definition.
Linked test cases
When you create a QA.tech test from an Xray test, the new test keeps a link back to the test it came from.- Before you approve the suggestion, the chat shows a Reports results to line with the source test, so you can catch a wrong link early.
- In your Test Cases list, the test shows an Xray badge next to its
labels, for example
Xray ABC-123.
The Xray badge is shown as plain text rather than a clickable link. The
integration connects to the Xray API, which does not know your Jira site
address, so QA.tech cannot build a reliable link to the issue in Jira. Use the
Jira key on the badge to find the test in your own Jira.
Limitations
Removing the integration
To disconnect, open Settings → Integrations → Xray and click Remove. This deletes the stored credentials, including your Client Secret. Test cases you have already created in QA.tech are not affected, and they keep their Xray badge.Related documentation
- TestRail: the same capability for TestRail cases
- Jira: read Jira issues for PR reviews and test planning
- Custom MCP servers: connect any other MCP server, self-hosted or hosted
- AI Chat Assistant: where you work with your tests