Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleGET /rest/raven/1.0/api/settings/teststepstatuses
Panel
borderColor#ccc
borderStylesolid

Return a json with the test step statuses available in Xray sorted by rank.

Request

Tip
titleExample Request
curl -H "Content-Type: application/json" -X GET -u admin:admin http://yourserver/rest/raven/1.0/api/settings/teststepstatuses

Responses

200 OK : text/plain : Successful. Return a json.

Code Block
titleExample Output
[
 {
   "id": 1,
   "rank": 1,
   "name": "PASS",
   "description": "The test step has passed."
   "testStatusId": 1 
 },
 {
   "id": 10,
   "rank": 10,
   "name": "SKIP",
   "description": "The test step has been skipped."
   "testStatusId": 1 
 }
 ...
]

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.

...