REST API: Test Plans
POST | com.easesolutions.jira.plugins.testmanagement/1.0/plan/prjKey | Create a new testplan. |
GET | com.easesolutions.jira.plugins.testmanagement/1.0/plans/prjKey | Get all testplans for a given project. |
GET | com.easesolutions.jira.plugins.testmanagement/1.0/plans/prjKey/plan | Get a specific testplan. |
POST /com.easesolutions.jira.plugins.testmanagement/1.0/plan/{prjKey}
Example Response
{
"prjKey": "PRJ",
"project": 10100,
"description": "An example testplan",
"configuration": 0,
"id": 12,
"name": "Example Plan",
"copying": false,
"copyFailed": false,
"testCount": 0,
"stepCount": 0
}
Create a new testplan.
PARAMETERS
prjKey*
name*
desc
cfg
The project key.
A name for the testplan.
A description for the testplan.
The id of a configuration within the specified project.
GET /com.easesolutions.jira.plugins.testmanagement/1.0/plans/{prjKey}
Example Response
[
{
"prjKey": "PRJ",
"project": 10100,
"description": "An example testplan",
"configuration": 0,
"id": 12,
"name": "Example Plan",
"copying": false,
"copyFailed": false,
"testCount": 0,
"stepCount": 0
},
{
"prjKey": "PRJ",
"project": 10100,
"description": "A second testplan",
"configuration": 0,
"id": 12,
"name": "Another Plan",
"copying": false,
"copyFailed": false,
"testCount": 0,
"stepCount": 0
}
]
Get all testplans for a given project.
PARAMETERS
prjKey*
The project key.