Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: [v1.9.0] Documentation update

...

...

...

...

...

...

...

...

...

...


...

Panel
titleColor#FFFFFF
titleBGColor#6c809a
titlePOST /com.easesolutions.jira.plugins.testmanagement/1.0/executed/{prjKey}/{planId}/{resultId}/step/{stepId}


Code Block
languagejava
titleExample Response
collapsetrue
null



Execute a single test step.



PARAMETERS

Section


Column
width30%

prjKey*

resultId*

stepId*

planId*

passed

failed

failedContinue

failedContinueStep

message


Column
width70%

The project key.

The id of an execution associated with the testplan.

The id of the teststep to execute.

The id of the testplan that contains the test which teststep should be executed.

Fill with anything to set passed to true.

Fill with anything to set failed to true. Values for passed and failedContinue are ignored.

Fill with anything to set failedContinue to true. Values for passed are ignored.

Fill with anything to set failedContinueStep to true. Values for passed are ignored.

A message to describe the teststep result. (Mandatory if failed or failedContinue is filled)



...

Panel
titleColor#FFFFFF
titleBGColor#6c809a
titlePOST /com.easesolutions.jira.plugins.testmanagement/1.0/executed/{prjKey}/{planId}/{resultId}/test/{testId}


Code Block
languagejava
titleExample Response
collapsetrue
null



Execute a test.



PARAMETERS

Section


Column
width30%

prjKey*

resultId*

planId*

testId*

passed

failed

failedContinue

message


Column
width70%

The project key.

The id of an execution associated with the testplan.

The id of the testplan that contains the test which should be executed.

The id of the test to execute.

Fill with anything to set passed to true.

Fill with anything to set failed to true. Values for passed and failedContinue are ignored.

Fill with anything to set failedContinue to true. Values for passed are ignored.

A message to describe the testresult. (Mandatory if failed or failedContinue is filled)



...

Panel
titleColor#FFFFFF
titleBGColor#6c809a
titleGET /com.easesolutions.jira.plugins.testmanagement/1.0/execution/{prjKey}/{planId}


Code Block
languagejava
titleExample Response
collapsetrue
[
  	{
    	"id": 12,
    	"name": "Example Execution 1",
    	"description": "An example execution",
    	"deleted": false,
    	"assignee": "admin",
    	"passed": false,
    	"failed": false,
    	"running": false,
    	"notrun": true,
    	"created": 1234567890123
  	},
  	{
    	"id": 13,
    	"name": "Example Execution 2",
    	"description": "Another example execution",
    	"deleted": false,
    	"assignee": "admin",
    	"passed": true,
    	"failed": false,
    	"running": false,
    	"notrun": false,
    	"created": 9876543210987
  	}
]



Get all executions for an existing test plan.



PARAMETERS

Section


Column
width30%

prjKey*

planId*


Column
width70%

The project key.

The id of the test plan to get all executions for.



...

Panel
titleColor#FFFFFF
titleBGColor#6c809a
titlePOST /com.easesolutions.jira.plugins.testmanagement/1.0/execution/{prjKey}/{planId}


Code Block
languagejava
titleExample Response
collapsetrue
{
  	"id": 12,
  	"name": "Example Execution",
  	"description": "An example execution",
  	"deleted": false,
  	"assignee": "Admin",
  	"passed": false,
  	"failed": false,
  	"running": false,
  	"notrun": true,
  	"created": 1234567890123,
  	"tests": [
    	{
      		"name": "Example Test",
      		"description": "An example test",
      		"descriptionRendered": "<p>An example test</p>",
      		"failureMessage": "",
      		"folders": [
        		"Testfolder"
      		],
      		"failed": false,
      		"passed": false,
      		"notrun": true,
      		"skipped": false,
      		"steps": [
        		{
          			"name": "Teststep 1",
          			"description": "An example teststep",
          			"failureMessage": "",
          			"failed": false,
          			"passed": false,
          			"notrun": true,
          			"skipped": false,
          			"expectedResult": "",
          			"id": 123,
          			"parameters": [
            			{
              				"key": "Parameter",
              				"identifier": "##parameter##",
              				"value": "A parameter value"
            			}
          			]
        		}
      		],
      		"id": 567,
      		"issueUrl": "http://host:port/jira/browse/PRJ-1",
      		"issueKey": "PRJ-1",
      		"issueStatus": "To Do",
      		"issueType": "New Feature"
    	}
  	]
}



Create a new execution.



PARAMETERS

Section


Column
width30%

prjKey*

planId*

name

desc

assignee

testProjectId

testComponents

testFixVersions


Column
width70%

The project key.

The id of the test plan to create a new execution for.

A name for the execution.

A description for the execution.

The username of a JIRA user to assign the execution to.

The id of the target project. (Default: matches the project specified by the project key)

The test component of the target project.

The fix version in the target project.



...

Panel
titleColor#FFFFFF
titleBGColor#6c809a
titleGET /com.easesolutions.jira.plugins.testmanagement/1.0/result/{prjKey}/{planId}/{resultId}


Code Block
languagejava
titleExample Response
collapsetrue
{
  	"id": 12,
  	"name": "Example Execution",
  	"description": "An example execution",
  	"deleted": false,
  	"assignee": "Admin",
  	"passed": false,
  	"failed": false,
  	"running": false,
  	"notrun": true,
  	"created": 1234567890123,
  	"tests": [
    	{
      		"name": "Example Test",
      		"description": "An example test",
      		"descriptionRendered": "<p>An example test</p>",
      		"failureMessage": "",
      		"folders": [
        		"Testfolder"
      		],
      		"failed": false,
      		"passed": false,
      		"notrun": true,
      		"skipped": false,
      		"steps": [
        		{
          			"name": "Teststep 1",
          			"description": "An example teststep",
          			"failureMessage": "",
          			"failed": false,
          			"passed": false,
          			"notrun": true,
          			"skipped": false,
          			"expectedResult": "",
          			"id": 123,
          			"parameters": [
            			{
              				"key": "Parameter",
              				"identifier": "##parameter##",
              				"value": "A parameter value"
            			}
          			]
        		}
      		],
      		"id": 567,
      		"issueUrl": "http://host:port/jira/browse/PRJ-1",
      		"issueKey": "PRJ-1",
      		"issueStatus": "To Do",
      		"issueType": "New Feature"
    	}
  	]
}



Get the execution(report) for previous test run.



PARAMETERS

Section


Column
width30%

prjKey*

resultId*

planId*


Column
width70%

The project key.

The id of the execution to return.

The id of the testplan the requested execution is associated to.



...