provider Project versions POST /rest/api/3/version/{id}/relatedwork
@utdk/jira /rest/api/3/version/{id}/relatedwork
Create related work
Creates a related work for the given version. You can only create a generic link type of related works via this API. relatedWorkId will be auto-generated UUID, that does not need to be provided. 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
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.

createrelatedwork
POST/rest/api/3/version/{id}/relatedwork
Creates a related work for the given version. You can only create a generic link type of related works via this API. relatedWorkId will be auto-generated UUID, that does not need to be provided. 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

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.createrelatedwork()