POST

Create an issue link between two issues

Creates an issue link between two issues.

Request

Request bodyapplication/json

All information about the link relationship. Which issues to link, which issue link type to use and an optional comment that will be added to the first issue.

comment

CommentJsonBean

inwardIssue

IssueRefJsonBean

outwardIssue

IssueRefJsonBean

type

IssueLinkTypeJsonBean

Responses

Returned if the issue link was created successfully.

POST/api/2/issueLink
1 2 3 4 curl --request POST \ --url 'http://{baseurl}/rest/api/2/issueLink' \ --user 'email@example.com:<api_token>' \ --header 'Content-Type: application/json'
GET

Returns an issue link with the specified id.

linkId

string

Required

Returned if the request was successful.

application/json

issueLinks
GET/api/2/issueLink/{linkId}
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/api/2/issueLink/{linkId}' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
DEL

Deletes an issue link with the specified id.

linkId

string

Required

Returned if it successfully deleted the issue link.

DEL/api/2/issueLink/{linkId}
1 2 3 curl --request DELETE \ --url 'http://{baseurl}/rest/api/2/issueLink/{linkId}' \ --user 'email@example.com:<api_token>'

Rate this page: