API URL : http://localhost:8080/rest/qmetry/latest/testscenario
Method : POST
Request Header
- Content-Type : application/json
Request Body
{ "projectId": "10100", "summary": "Scenario 55", "reporter": "rpt1", "duedate": "duedate", "description": "description of test case", "assignee": "Assignee_Id", "priority": "priority_Id", "versions": [ "ver_4.0.2", "5.0.3" ], "labels": [ "Label1", "Label2" ], "components": [ "component1", "component2"] }
Response
{ "success": true, "result": { "issueId": 10209, "issueKey": "IC-26", "self": "http://localhost:8080/rest/api/2/issue/10209" } }
Failed : 404 Not found
{ "error": { "errorMessage": "summary field is required", "errorCode": 404 }, "success": false }