Page History
...
Are you using Xray for Jira Cloud and want to export Xray information?
Have you ever used Insomnia software and need some tips?
This article is for you. It's a step-by-step how to export Xray information using Insomnia.
Possible Causes
- Need to export bulk information from Xray;
- Never used Insomnia software
...
1 - REST API authentication
Define you your API KEY
Go to Jira settings > Apps > Xray > API Keys
Then Create API Key > Search for your user
...
You can use the command prompt, and use this example requests to get the token id:
curl -H "Content-Type: application/json" -X POST --data '{ "client_id": "32A27E69B0AC4E539C1401643799E8E7","client_secret": "d62f81eb9ed859e11e54356dd8a00e4a5f0d0c2a2b52340776f6c7d6d757b962" }' https://xray.cloud.xpand-itgetxray.comapp/api/v1v2/authenticate
The output will be a string like this one:
...
You can see here some examples: https://xray.cloud.xpand-itgetxray.comapp/doc/graphql/gettest.doc.html
...
9 - Enter the endpoint: http://xray.cloud.xpand-itgetxray.comapp/api/v1v2/graphql
10 - Click SEND
11 - In the right side you will have the result:
...
https://insomnia.rest/graphql/
https://xray.cloud.xpand-itgetxray.comapp/doc/graphql/gettest.doc.html
...