Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,993
Community Members
 
Community Events
168
Community Groups

XRay GET call returns 404 Not Found

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.

1 answer

1 accepted

0 votes
Answer accepted
Hana Kučerová Community Leader Sep 23, 2022

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?

Hana Kučerová Community Leader Sep 25, 2022

Yes, you need to generate special Xray token for your user.

https://docs.getxray.app/pages/viewpage.action?pageId=32800886

Like Sandeep Vaidya likes this

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

Hana Kučerová Community Leader Sep 27, 2022

@Sandeep Vaidya If you are on cloud, you can't use these endpoints.

You need to use cloud endpoints:

https://docs.getxray.app/display/XRAYCLOUD/Version+2

Like Sandeep Vaidya likes this

Thanks very much.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events