Return a json with the exported test plans. Request PATH PARAMETERS parameter | type | description |
---|
key | String | - Test Key |
Tip |
---|
| curl -H "Content-Type: application/json" -X GET -u admin:admin http://yourserver/rest/raven/1.0/api/test/{key}/testplans |
Responses 200 OK : text/plain : Successful. Return a json. Code Block |
---|
| [
{
"id":13602,
"key":"CALC-54",
"summary":"Test Plan for all tests",
"self":"http://JIRASERVER/testJira/rest/api/2/issue/CALC-54"
},
{
"id":13600,
"key":"CALC-55",
"summary":"Test Plan of v2.0",
"self":"http://JIRASERVER/testJira/rest/api/2/issue/CALC-55"
}
] |
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 steps. |