I just started using the JIRA XRay API. I started with a simple GET:
https://propylon-limited.atlassian.net/rest/raven/2.0/api/testrepository/TA/folders
in postman.
I am getting a 404 Not found. What am I doing wrong? I am passing the API KEY in the header.
Hi @Sandeep Vaidya ,
if you are using cloud version, you need to use URL: https://xray.cloud.getxray.app/ .
See here the documentation.
Thanks very much for the quick answer.
Can I ask you to confirm that the API token in the header method we use to authenticate in JIRA is not the same in an XRay call?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, you need to generate special Xray token for your user.
https://docs.getxray.app/pages/viewpage.action?pageId=32800886
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks.
I believe our JIRA account is on Cloud and not server+DC. I want to use the REST API to access our XRay test repository.
I am confused. Can I use the endpoints listed in the Server+DC tab:
https://docs.getxray.app/display/XRAY/v2.0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Sandeep Vaidya If you are on cloud, you can't use these endpoints.
You need to use cloud endpoints:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.