DATA CENTER AND SERVER | CLOUD

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Current »

Adds an existing issue to the root folder of a given project

 POST com.easesolutions.jira.plugins.requirements/1.0/tree/{prjKey}/rootissue

Request

PATH PARAMETERS

parameter

type

description

prjKey

string

project key

QUERY PARAMETERS

parameter

type

description

issuekey

string

the key of the issue to be associated

Sample Request Path

https://myjirainstance.com/rest/com.easesolutions.jira.plugins.requirements/1.0/tree/ABCD/rootissue?issuekey=ABCD-100

Responses

STATUS 200 application/json Returned if successful.

Example

{ 
   "id":136,
   "issueId":0,
   "key":"",
   "url":"",
   "summary":"",
   "description":"",
   "issueType":"",
   "position":0,
   "childReqs":{ 
      "childReq":[ 

      ]
   }
}

STATUS 400 Returned if there is an error while processing request.

STATUS 401 Returned if user is not logged in.

STATUS 403 Returned if the license is invalid or has expired or incompatible JIRA version.

Removes an issue from the root folder of a given project

 DELETE com.easesolutions.jira.plugins.requirements/1.0/tree/{prjKey}/rootissue

Note that the issue will only be removed from the tree and not deleted from Jira.

Request

PATH PARAMETERS

parameter

type

description

prjKey

string

project key

QUERY PARAMETERS

parameter

type

description

issuekey

string

the key of the issue to be deleted

Sample Request Path

https://myjirainstance.com/rest/com.easesolutions.jira.plugins.requirements/1.0/tree/ABCD/rootissue?issuekey=ABCD-100

Responses

STATUS 200 Returned if successful.

STATUS 400 Returned if there is an error while processing request.

STATUS 401 Returned if user is not logged in.

STATUS 403 Returned if the license is invalid or has expired or incompatible JIRA version.

Adds an existing issue to a specified tree folder of a given project

 POST com.easesolutions.jira.plugins.requirements/1.0/tree/{prjKey}/folderissue/{id}

Request

PATH PARAMETERS

parameter

type

description

prjKey

string

project key

id

string

folder id

QUERY PARAMETERS

parameter

type

description

issuekey

string

the key of the issue to be associated

Sample Request Path

https://myjirainstance.com/rest/com.easesolutions.jira.plugins.requirements/1.0/tree/ABCD/folderissue/100?issuekey=ABCD-100

Responses

STATUS 200 application/json Returned if successful.

Example

{ 
   "id":136,
   "issueId":0,
   "key":"",
   "url":"",
   "summary":"",
   "description":"",
   "issueType":"",
   "position":0,
   "childReqs":{ 
      "childReq":[ 

      ]
   }
}

STATUS 400 Returned if there is an error while processing request.

STATUS 401 Returned if user is not logged in.

STATUS 403 Returned if the license is invalid or has expired or incompatible JIRA version.

Removes an issue from a specified tree folder of a given project

 DELETE com.easesolutions.jira.plugins.requirements/1.0/tree/{prjKey}/folderissue/{id}

Note that the issue will only be removed from the tree and not deleted from Jira.

Request

PATH PARAMETERS

parameter

type

description

prjKey

string

project key

id

string

folder id

QUERY PARAMETERS

parameter

type

description

issuekey

string

the key of the issue to be deleted

Sample Request Path

https://myjirainstance.com/rest/com.easesolutions.jira.plugins.requirements/1.0/tree/ABCD/folderissue/100?issuekey=ABCD-100

Responses

STATUS 200 Returned if successful.

STATUS 400 Returned if there is an error while processing request.

STATUS 401 Returned if user is not logged in.

STATUS 403 Returned if the license is invalid or has expired or incompatible JIRA version.

Moves an existing issue association to a new folder

 POST com.easesolutions.jira.plugins.requirements/1.0/tree/{prjKey}/moveissue

Request

PATH PARAMETERS

parameter

type

description

prjKey

string

project key

QUERY PARAMETERS

parameter

type

description

from

string

the ID of the source folder 
(if source folder is root, ID may be blank or -1)

to

string

the ID of the destination folder
(if destination folder is root, ID may be blank or -1)

issuekey

string

the key of the issue whose association should be moved

pos

string

position of the issue in the destination folder 4.2.1

Sample Request Path

https://myjirainstance.com/rest/com.easesolutions.jira.plugins.requirements/1.0/tree/ABCD/moveissue?from=100&to=250&issuekey=ABCD-100

Responses

STATUS 200 Returned if successful.

STATUS 400 Returned if there is an error while processing request.

STATUS 401 Returned if user is not logged in.

STATUS 403 Returned if the license is invalid or has expired or incompatible JIRA version.

  • No labels