curl -H "Content-Type: application/json" -X GET -u admin:admin http://yourserver/rest/raven/1.0/api/settings/teststatuses
Responses
200 OK : text/plain : Successful. Return a json.
Code Block
title
Example Output
[
{
"id": 1,
"rank": 1,
"name": "PASS",
"description": "The test run has passed",
"final": true,
"requirementStatusName": "OK"
},
...
{
"id": 10,
"rank": 10,
"name": "BLOCKED",
"description": "The test run is blocked"
"final": false,
"requirementStatusName": "NOTRUN"
}
]
401 UNAUTHORIZED : text/plain : The Xray for JIRA license is not valid.
500 INTERNAL SERVER ERROR : text/plain : An internal error occurred getting the test steps.