Skip to content

issueLinkType

Create issue link type

Creates an issue link type. Use this operation to create descriptions of the reasons why issues are linked. The issue link type consists of a name and descriptions for a link's inward and outward relationships.

To use this operation, the site must have issue linking enabled.

Permissions required: Administer Jira global permission.

POST /rest/api/3/issueLinkType

FlagTypeRequiredDescription
--bodystringNorequest body (JSON string, @file, or - for stdin)

Example:

bash
jr issueLinkType create-issue-link-type

Delete issue link type

Deletes an issue link type.

To use this operation, the site must have issue linking enabled.

Permissions required: Administer Jira global permission.

DELETE /rest/api/3/issueLinkType/{issueLinkTypeId}

FlagTypeRequiredDescription
--issueLinkTypeIdstringYesThe ID of the issue link type.

Example:

bash
jr issueLinkType delete-issue-link-type --issueLinkTypeId <issueLinkTypeId>

Get issue link type

Returns an issue link type.

To use this operation, the site must have issue linking enabled.

This operation can be accessed anonymously.

Permissions required: Browse projects project permission for a project in the site.

GET /rest/api/3/issueLinkType/{issueLinkTypeId}

FlagTypeRequiredDescription
--issueLinkTypeIdstringYesThe ID of the issue link type.

Example:

bash
jr issueLinkType get-issue-link-type --issueLinkTypeId <issueLinkTypeId>

Get issue link types

Returns a list of all issue link types.

To use this operation, the site must have issue linking enabled.

This operation can be accessed anonymously.

Permissions required: Browse projects project permission for a project in the site.

GET /rest/api/3/issueLinkType

Example:

bash
jr issueLinkType get-issue-link-types

Update issue link type

Updates an issue link type.

To use this operation, the site must have issue linking enabled.

Permissions required: Administer Jira global permission.

PUT /rest/api/3/issueLinkType/{issueLinkTypeId}

FlagTypeRequiredDescription
--bodystringNorequest body (JSON string, @file, or - for stdin)
--issueLinkTypeIdstringYesThe ID of the issue link type.

Example:

bash
jr issueLinkType update-issue-link-type --issueLinkTypeId <issueLinkTypeId>