Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Expand
titlePOST 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

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

Responses

Status
colourGreen
titlestatus 200
application/json Returned if successful.

Example

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

      ]
   }
}

Status
colourRed
titlestatus 400
Returned if there is an error while processing request.

Status
colourRed
titlestatus 401
Returned if user is not logged in.

Status
colourRed
titlestatus 403
Returned if the license is invalid or has expired or incompatible JIRA version.

...

Expand
titleDELETE com.easesolutions.jira.plugins.requirements/1.0/tree/{prjKey}/rootissue
Info

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

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

Responses

Status
colourGreen
titlestatus 200
Returned if successful.

Status
colourRed
titlestatus 400
Returned if there is an error while processing request.

Status
colourRed
titlestatus 401
Returned if user is not logged in.

Status
colourRed
titlestatus 403
Returned if the license is invalid or has expired or incompatible JIRA version.

...

Expand
titlePOST 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

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

Responses

Status
colourGreen
titlestatus 200
application/json Returned if successful.

Example

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

      ]
   }
}

Status
colourRed
titlestatus 400
Returned if there is an error while processing request.

Status
colourRed
titlestatus 401
Returned if user is not logged in.

Status
colourRed
titlestatus 403
Returned if the license is invalid or has expired or incompatible JIRA version.

...

Expand
titleDELETE com.easesolutions.jira.plugins.requirements/1.0/tree/{prjKey}/folderissue/{id}
Info

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

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

Responses

Status
colourGreen
titlestatus 200
Returned if successful.

Status
colourRed
titlestatus 400
Returned if there is an error while processing request.

Status
colourRed
titlestatus 401
Returned if user is not logged in.

Status
colourRed
titlestatus 403
Returned if the license is invalid or has expired or incompatible JIRA version.

...

Expand
titlePOST 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

Status
colourBlue
titlesince 4.2.1

Sample Request Path

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

Responses

Status
colourGreen
titlestatus 200
Returned if successful.

Status
colourRed
titlestatus 400
Returned if there is an error while processing request.

Status
colourRed
titlestatus 401
Returned if user is not logged in.

Status
colourRed
titlestatus 403
Returned if the license is invalid or has expired or incompatible JIRA version.

...