Xray unable to use the REST API

Robert Squire 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
AUG Leaders

Atlassian Community Events