changes.mady.by.user Unknown User (fspe)
Saved on Jan 09, 2018
...
Return a json with the test preconditions pre-conditions of a given test.
Request
parameter
type
description
testKey
- key of the test.
200 OK : text/plain : Successful. Return a json.
[ { "id": 12602, "rank": 1, "key": "FLYTOMOON-7", "self": "http://localhost:8080/rest/api/2/issue/12602", "reporter": "john", "assignee": "bmpc", "type": "Manual", "condition": "Fuel the rockets before launch" }, { "id": 13409, "rank": 2, "key": "FLYTOMOON-77", "self": "http://localhost:8080/rest/api/2/issue/13409", "reporter": "admin", "assignee": "admin", "type": "Manual", "condition": "The PC must be turned on" }, { "id": 12718, "rank": 3, "key": "FLYTOMOON-29", "self": "http://localhost:8080/rest/api/2/issue/12718", "reporter": "admin", "assignee": "admin", "type": "Manual", "condition": "Ligar o computador.." } ]
400 BAD_REQUEST : text/plain : Returns the error.
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 pre-conditions.