REST API: Test Steps

GETcom.easesolutions.jira.plugins.testmanagement/1.0/teststep/prjKey/issueKeyGet all teststeps for an issue.
POSTcom.easesolutions.jira.plugins.testmanagement/1.0/teststep/prjKey/issueKeyCreate a new teststep for an issue.
PUTcom.easesolutions.jira.plugins.testmanagement/1.0/teststep/prjKey/issueKey/testStepIdUpdate an existing teststep.
DELETEcom.easesolutions.jira.plugins.testmanagement/1.0/teststep/prjKey/issueKey/testStepIdDelete an existing teststep.



GET /com.easesolutions.jira.plugins.testmanagement/1.0/teststep/{prjKey}/{issueKey}
Example Response
[
  	{
    	"name": "Teststep 1",
    	"description": "An example teststep",
    	"expectedResult": ""
  	},
  	{
    	"name": "Teststep 2",
    	"description": "Another example teststep",
    	"expectedResult": ""
  	}
]



Get all teststeps for an issue.



PARAMETERS

prjKey*

issueKey*

The project key.

The key of the issue containing the teststeps.

POST /com.easesolutions.jira.plugins.testmanagement/1.0/teststep/{prjKey}/{issueKey}
Example Response
{
    "name": "Teststep 1",
    "description": "An example teststep",
    "expectedResult": ""
}



Create a new teststep for an issue.



PARAMETERS

prjKey*

issueKey*

name*

description

expectedResult

position

The project key.

The key of the issue to create a new teststep for.

A name for the teststep.

A description for the teststep.

An expected result for the teststep.

A position for the teststep.

PUT /com.easesolutions.jira.plugins.testmanagement/1.0/teststep/{prjKey}/{issueKey}/{testStepId}
Example Response
{
    	"name": "Updated Teststep 1",
    	"description": "An updated teststep",
    	"expectedResult": ""
}



Update an existing teststep.



PARAMETERS

prjKey*

issueKey*

testStepId*

name*

description

expectedResult

position

The project key.

The key of the issue containing the step to update.

The id of the teststep to update.

An updated name.

An updated description.

An updated expected result.

An updated position.

DELETE /com.easesolutions.jira.plugins.testmanagement/1.0/teststep/{prjKey}/{issueKey}/{testStepId}
Example Response
"OK"



Delete an existing teststep.



PARAMETERS

prjKey*

issueKey*

testStepId*

The project key.

The key of the issue containing the step to delete.

The id of the teststep to delete.