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

Create reciprocal remote issue link

Create reciprocal remote issue link from a JSON representation. Jira will create two issue links, source -> target and target -> source.

POST/api/2/issue/remotelink/reciprocal
Request body
application/json

Remote reciprocal issue link create request

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

Returns a pair of links to created remote issue links

sourceRemoteIssueLinkCreateOrUpdateResponse
targetRemoteIssueLinkCreateOrUpdateResponse
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
Bodyapplication/json
Request
curl -X POST 'http://jira.example.com/rest/api/2/issue/remotelink/reciprocal' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "source": {
    "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"
  },
  "target": {
    "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
{
  "source": {},
  "target": {}
}

Was this page helpful?