PUT /rest/api/2/version/{id}/relatedwork
Updates the given related work. You can only update generic link related works via Rest APIs. Any archived version related works can't be edited.
This operation can be accessed anonymously.
Permissions required: Resolve issues: and Edit issues Managing project permissions for the project that contains the version.
Servers
- https://your-domain.atlassian.net
Path parameters
Name | Type | Required | Description |
---|---|---|---|
id |
String | Yes |
The ID of the version to update the related work on. For the related work id, pass it to the input JSON. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
category |
String | Yes |
The category of the related work |
relatedWorkId |
String | No |
The id of the related work. For the native release note related work item, this will be null, and Rest API does not support updating it. |
url |
String | No |
The URL of the related work. Will be null for the native release note related work item, but is otherwise required. |
title |
String | No |
The title of the related work |
issueId |
Integer | No |
The ID of the issue associated with the related work (if there is one). Cannot be updated via the Rest API. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.