Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
GETcom.easesolutions.jira.plugins.testmanagement/1.0/tree/def/prjkey   Get the definition tree for a project.
POSTcom.easesolutions.jira.plugins.testmanagement/1.0/tree/def/prjKey/folderCreate a child folder on root in the definition tree of a project.
POSTcom.easesolutions.jira.plugins.testmanagement/1.0/tree/def/prjKey/folder/id

Create a folder under a specific parent folder in the definition tree of a project.

DELETEcom.easesolutions.jira.plugins.testmanagement/1.0/tree/def/prjKey/folder/idDelete a folder from a definition tree.
POSTcom.easesolutions.jira.plugins.testmanagement/1.0/tree/def/prjKey/folderissue/idAdd an issue to a folder in a definition tree.
DELETEcom.easesolutions.jira.plugins.testmanagement/1.0/tree/def/prjKey/folderissue/id

Remove an issue from a folder in a definition tree.

POSTcom.easesolutions.jira.plugins.testmanagement/1.0/tree/def/prjKey/moveissueMove an issue from one definition tree folder to another.
DELETEcom.easesolutions.jira.plugins.testmanagement/1.0/tree/def/prjKey/rootissueRemove an issue from the root folder of a definition tree.



Anchor
1
1

Panel
titleColor#FFFFFF
titleBGColor#6c809a
titleGET /com.easesolutions.jira.plugins.testmanagement/1.0/tree/def/{prjkey}
Code Block
languagejava
titleExample Response
collapsetrue
{
	"id":-1,
	"folders": [
		"name": "Example Folder",
		"id": 123,
		"name_display": "1 Example Folder",
		"parent": -1,
		"folders": [],
		"issues": [],
		"position": 1
	],
	"issues": [
		{
		"id": 567,
		"issueId": 12301,
		"key": "PRJ-1",
		"url": "http://host:port/jira/browse/PRJ-1",
		"summary": "Example issue",
		"icon_url": "http://host:port/jira/images/icons/issuetypes/newfeature.png",
		"issueType": "New Feature",
		"position": 1,
		"teststeps": [
			{
			"name": "Teststep 1",
			"description": "Example teststep",
			"expectedResult": ""
			}
		]
		}
	]
}




Get the definition tree for a project.



PARAMETERS

Section
Column
width30%

prjkey*

n

details

Column
width70%

The project key.

Set 1 to enable auto numbering for tree folders.

Set 1 to include test steps in result.


Anchor
2
2

Panel
titleColor#FFFFFF
titleBGColor#6c809a
titlePOST /com.easesolutions.jira.plugins.testmanagement/1.0/tree/def/{prjKey}/folder
Code Block
languagejava
titleExample Response
collapsetrue
{
	"name": "exampleFolder",
  	"id": 123,
  	"parent": -1,
  	"folders": [],
  	"issues": [],
  	"position": 0
}




Create a child folder on root in the definition tree of a project.



PARAMETERS

Section
Column
width30%

prjKey*

name*

description

Column
width70%

The project key.

A name for the folder.

A description for thefolder.


Anchor
3
3

Panel
titleColor#FFFFFF
titleBGColor#6c809a
titlePOST /com.easesolutions.jira.plugins.testmanagement/1.0/tree/def/{prjKey}/folder/{id}
Code Block
languagejava
titleExample Response
collapsetrue
{
  	"name": "exampleSubFolder",
  	"id": 124,
  	"parent": 123,
  	"folders": [],
  	"issues": [],
  	"position": 0
}




Create a folder under a specific parent folder in the definition tree of a project.



PARAMETERS

Section
Column
width30%

prjKey*

id*

name*

description

Column
width70%

The project key.

The id of the parent folder.

A name for the folder.

A description for the folder.


Anchor
4
4

Panel
titleColor#FFFFFF
titleBGColor#6c809a
titleDELETE /com.easesolutions.jira.plugins.testmanagement/1.0/tree/def/{prjKey}/folder/{id}
Code Block
languagejava
titleExample Response
collapsetrue
null




Delete a folder from a definition tree.



PARAMETERS

Section
Column
width30%

prjKey*

id*

Column
width70%

The project key.

The id of the folder to delete.


Anchor
5
5

Panel
titleColor#FFFFFF
titleBGColor#6c809a
titlePOST /com.easesolutions.jira.plugins.testmanagement/1.0/tree/def/{prjKey}/folderissue/{id}
Code Block
languagejava
titleExample Response
collapsetrue
{
  	"id": 567,
  	"issueId": 12301,
  	"key": "PRJ-1",
  	"url": "http://host:port/jira/browse/PRJ-1",
  	"summary": "Example issue",
  	"icon_url": "http://host:port/jira/images/icons/issuetypes/newfeature.png",
  	"issueType": "New Feature",
  	"position": 1
}




Add an issue to a folder in a definition tree.



PARAMETERS

Section
Column
width30%

prjKey*

id*

issueKey*

Column
width70%

The project key.

The id of the destination folder.

The key of the issue to add.


Anchor
6
6

Panel
titleColor#FFFFFF
titleBGColor#6c809a
titleDELETE /com.easesolutions.jira.plugins.testmanagement/1.0/tree/def/{prjKey}/folderissue/{id}
Code Block
languagejava
titleExample Response
collapsetrue
null




Remove an issue from a folder in a definition tree.



PARAMETERS

Section
Column
width30%

prjKey*

id*

issueKey*

Column
width70%

The project key.

The id of the folder to remove the issue from.

The key of the issue to be removed.


Anchor
7
7

Panel
titleColor#FFFFFF
titleBGColor#6c809a
titlePOST /com.easesolutions.jira.plugins.testmanagement/1.0/tree/def/{prjKey}/moveissue
Code Block
languagejava
titleExample Response
collapsetrue
null




Move an issue from one definition tree folder to another.



PARAMETERS

Section
Column
width30%

prjKey*

from

to

issuekey*

Column
width70%

The project key.

The id of the source folder. (Default: root)

The id of the destination folder. (Default: root)

The key of the issue to be moved.


Anchor
8
8

Panel
titleColor#FFFFFF
titleBGColor#6c809a
titleDELETE /com.easesolutions.jira.plugins.testmanagement/1.0/tree/def/{prjKey}/rootissue
Code Block
languagejava
titleExample Response
collapsetrue
null




Remove an issue from the root folder of a definition tree.



PARAMETERS

Section
Column
width30%

prjKey*

issuekey*

Column
width70%

The project key.

The key of the issue to be removed.