REST API: Test Plans

POSTcom.easesolutions.jira.plugins.testmanagement/1.0/plan/prjKeyCreate a new testplan.
GETcom.easesolutions.jira.plugins.testmanagement/1.0/plans/prjKeyGet all testplans for a given project.
GETcom.easesolutions.jira.plugins.testmanagement/1.0/plans/prjKey/planGet 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.

GET /com.easesolutions.jira.plugins.testmanagement/1.0/plans/{prjKey}/{plan}
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
}



Get a specific testplan.



PARAMETERS

prjKey*

plan*

The project key.

The id of the plan.