REST API: Test Steps

REST API: Test Steps




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.