Versions Compared

Key

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

...

...

API URL : http://localhost:8080/rest/qmetry/latest/testcase

Method : POST

Request Header 

  • Content-Type : application/json

Request Body

...

titleRequest 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
titleResponse Body
{
    "success": true,
    "result": {
        "issueId": 10201,
        "issueKey": "IC-18",
        "self": "http://localhost:8080/rest/api/2/issue/10201"
    }
}

...

Code Block
titleBad Request
{
    "error": {
        "errorMessage": "Given projectId is invalid.",
        "errorCode": 400
    },
    "success": false
}

View file
nameOpen API Examples.postman_collection.json
height250