Forums

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

Xray unable to use the REST API

Robert Squire
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 27, 2019

We have installed Xray and we can manually import a json file and the test execution gets updated with the status set in the json.

 

No we want to do this via the REST API but even a simple comman such as "curl -H "Content-Type: application/json" -X GET -u admin:admin http://yourserver/rest/raven/1.0/api/settings/teststatuses"

 

With -v on I see http/2 404

Does anyone know how to resolve this?

1 answer

0 votes
Sergio Freire - Xblend
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 3, 2021

Hi @Robert Squire ,

were you able to solve this? (hope so)

If not, then maybe your base URL is not correct.. or maybe you're using Jira Cloud perhaps?

Regards

Sergio

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events