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

Create or update remote version link with global ID

Create a remote version link via POST using the provided global ID.

POST/api/2/version/{versionId}/remotelink/{globalId}
Authorization
AuthorizationBasic auth · headerrequired

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

Path parameters
versionIdstringrequired

ID of the version.

globalIdstringrequired

The id of the remote issue link to be created or updated.

Request body
requiredapplication/json

JSON containing parameters to create the remote version link with

linkstring
namestring
selfstring<uri>
Responses
201

Returned if the remote version link is created or updated successfully.

400

Returned if the JSON payload is empty or malformed

403

Returned if the currently authenticated user does not have permission to edit the version.

404

Returned if the version does not exist or the currently authenticated user does not have permission to view it.

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST 'http://jira.example.com/rest/api/2/version/string/remotelink/string' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Content-Type: application/json' \
  -d '{
  "link": "{\"rel\":\"issue\",\"url\":\"http://www.example.com/jira/rest/api/2/issue/10000\"}",
  "name": "Issue 10000",
  "self": "http://www.example.com/jira/rest/api/2/issue/10000"
}'
Response
Returned if the remote version link is created or updated successfully.

Was this page helpful?