...
...
API URL : http://localhost:8080/rest/qmetry/latest/testcase
Method : POST
Request Header
- Content-Type : application/json
Request Body
...
title | Request Body |
---|
...
{
"projectId":
...
"
...
10109",
...
"summary":
...
"Test
...
Case
...
Summary"
"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
Code Block | ||
---|---|---|
| ||
{ "success": true, "result": { "issueId": 10201, "issueKey": "IC-18", "self": "http://localhost:8080/rest/api/2/issue/10201" } } |
...
Code Block | ||
---|---|---|
| ||
{ "error": { "errorMessage": "Given projectId is invalid.", "errorCode": 400 }, "success": false } |
View file | ||||
---|---|---|---|---|
|