Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Create or update remote issue link

Creates or updates a remote issue link from a JSON representation. If a globalId is provided and a remote issue link exists with that globalId, the remote issue link is updated. Otherwise, the remote issue link is created.

POST/api/2/issue/{issueIdOrKey}/remotelink
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
issueIdOrKeystringrequired

Issue id or key

Request body
application/json

Remote issue link create or update request

applicationApplication
Show properties
namestring
typestring
globalIdstring
objectRemoteObject
Show properties
iconIcon
Show properties
linkstring
titlestring
url16x16string
statusStatus
Show properties
iconIcon
resolvedboolean
summarystring
titlestring
urlstring
relationshipstring
Responses
200

Returns a link to the created/updated remote issue link.

object
400

Returned if the input is invalid (e.g. missing required fields, invalid values, and so forth).

401

Returned if the calling user is not authenticated.

403

Returned if the calling user does not have permission to create/update the remote issue link, or if issue linking is disabled.

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST 'http://jira.example.com/rest/api/2/issue/string/remotelink' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "application": {
    "name": "My Acme Tracker",
    "type": "com.acme.tracker"
  },
  "globalId": "system=http://www.mycompany.com/support&id=1",
  "object": {
    "icon": "http://www.mycompany.com/support/resolved.png",
    "status": {
      "icon": "http://www.mycompany.com/support/resolved.png",
      "resolved": true
    },
    "summary": "Crazy customer support issue",
    "title": "TSTSUP-111",
    "url": "http://www.mycompany.com/support?id=1"
  },
  "relationship": "causes"
}'
Response
{}

Was this page helpful?