Forums

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

Xray API are not working

Devesh Kumar August 29, 2023

My JIRA api's are working but Xray api are responsing 404.

 

Working

r1rcm.atlassian.net/rest/api/2/issue/TCMP-9090

But if go for Xray API's to update or fetch the issue/testcase status getting 404

 

Not working

https://r1rcm.atlassian.net/jira/software/c/projects/rest/raven/2.0/api/testrun?testExecIssueKey=TCMP-200&testIssueKey=TCMP-201

 

2 answers

1 vote
Dave Liao
Community Champion
August 29, 2023

@Devesh Kumar - hi Devesh! Are you using Xray for Cloud?

If so, the base URL for API requests to manage test-specific data should be https://xray.cloud.getxray.app/

Source: https://docs.getxray.app/display/XRAYCLOUD/REST+API

Devesh Kumar August 29, 2023

Thanks @Dave Liao for the quick reply 

 

I will check and with updated url

Dave Liao
Community Champion
August 29, 2023

You will also need to find (or generate) your Client ID and Client Secret Key to interact with Xray's Cloud API endpoint: https://docs.getxray.app/display/XRAYCLOUD/Global+Settings%3A+API+Keys

1 vote
Robert Wen_Cprime_
Community Champion
August 29, 2023

Hello @Devesh Kumar ! Welcome to the Atlassian Community!

The problem might be with Xray.  It's Status page looks OK.

https://xray.statuspage.io/

Have you contacted their support?

https://jira.getxray.app/servicedesk/customer/portal/2/user/login?destination=portal%2F2

Devesh Kumar August 29, 2023

Thanks for the quick response.

https://xray.statuspage.io/

xray.JPG

 

I will check with Xray service team.

Suggest an answer

Log in or Sign up to answer