Create Or Update Remote Issue Link
POST {{baseUrl}}/rest/api/3/issue/:issueIdOrKey/remotelink
Creates or updates a remote issue link for an issue.
If a globalId
is provided and a remote issue link with that global ID is found it is updated. Any fields without values in the request are set to null. Otherwise, the remote issue link is created.
This operation requires issue linking to be active.
This operation can be accessed anonymously.
Permissions required:
- Browse projects and Link issues project permission for the project that the issue is in.
- If issue-level security is configured, issue-level security permission to view the issue.
Request Body
{"object"=>{"title"=>"<string>", "url"=>"<string>", "summary"=>"<string>", "icon"=>{"url16x16"=>"<string>", "title"=>"<string>", "link"=>"<string>"}, "status"=>{"resolved"=>"<boolean>", "icon"=>{"url16x16"=>"<string>", "title"=>"<string>", "link"=>"<string>"}}}, "globalId"=>"<string>", "application"=>{"type"=>"<string>", "name"=>"<string>"}, "relationship"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"id":10000,"self":"https://your-domain.atlassian.net/rest/api/issue/MKY-1/remotelink/10000"}