---
ai:
  exclude: true
search:
  tags:
    - issue
    - POST
seo:
  description: >-
    Creates or updates a remote issue… Reference for the POST
    /api/2/issue/{issueIdOrKey}/remotelink endpoint in the Jira Software Data
    Center REST API Reference.
sidebar:
  label: Create or update remote issue link
  badge: POST
title: Create or update remote issue link
type: openapi-operation
---
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`

**Request body** (`application/json`)

Remote issue link create or update request

- `application` (Application)
- `globalId` (string)
- `object` (RemoteObject)
- `relationship` (string)

Request body example:

```json
{
  "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"
}
```

**Responses**

- `200` — Returns a link to the created/updated remote issue link.
- `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.

Response example, 200:

```json
{}
```
