I'm trying to download my Cucumber test cases defined in Jira as a .feature
file using the Xray REST API. Here are the steps I'm following:
I use my Xray client_id
and client_secret
to get a token from https://xray.cloud.getxray.app/api/v2/authenticate
.
Then, I make a GET request to https://xray.cloud.getxray.app/api/v2/export/cucumber?keys=PX-2
with the following headers:
Content-Type
: application/json
Authorization
: Bearer ABCD
(Assume ABCD is my 441-character authentication token and PX-2 is my test key in Jira).However, I keep getting a response with status 401
and the body:
{ "error": "Xray data is in another region. Contact support to migrate Xray data to current region." }
Has anyone seen this problem before. Kindly help.
Thanks in advance!
Hi @Rohit Hooda ,
Welcome to the community!
Given the error, I strongly suggest you contact Xray Support here. They can assist you with any issues related to your Data Residency which I believe must be the case here.
Best,
Francisco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.