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

Create or update remote version link without global ID

Create a remote version link via POST. The link’s global ID will be taken from the JSON payload if provided; otherwise, it will be generated.

POST/api/2/version/{versionId}/remotelink
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.

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' \
  -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?