The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

XRay GET call returns 404 Not Found

Sandeep Vaidya
September 23, 2022

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Hana Kučerová
Community Champion
September 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.

Sandeep Vaidya
September 24, 2022

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 Champion
September 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
Sandeep Vaidya
September 27, 2022

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 Champion
September 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
Sandeep Vaidya
September 27, 2022

Thanks very much.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events