provider Project versions PUT /rest/api/3/version/{id}/relatedwork
@utdk/jira /rest/api/3/version/{id}/relatedwork
Update related work
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](#permissions) required:** *Resolve issues:* and *Edit issues* [Managing project permissions](https://confluence.atlassian.com/adminjiraserver/managing-project-permissions-938847145.html) for the project that contains the version.
id path required
The ID of the version to update the related work on. For the related work id, pass it to the input JSON.
string

Try it

Authentication
Configure credentials for The Jira Cloud platform REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

updaterelatedwork
PUT/rest/api/3/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](#permissions) required:** *Resolve issues:* and *Edit issues* [Managing project permissions](https://confluence.atlassian.com/adminjiraserver/managing-project-permissions-938847145.html) for the project that contains the version.

Parameters

required

The ID of the version to update the related work on. For the related work id, pass it to the input JSON.

Input

required

The category of the related work

The ID of the issue associated with the related work (if there is one). Cannot be updated via the Rest API.

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.

The title of the related work

The URL of the related work. Will be null for the native release note related work item, but is otherwise required.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import jira from '@utdk/jira';

await jira.updaterelatedwork()