issueLinkType
create-issue-link-type
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
| Flag | Type | Required | Description |
|---|---|---|---|
--body | string | No | request body (JSON string, @file, or - for stdin) |
Example:
jr issueLinkType create-issue-link-typedelete-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}
| Flag | Type | Required | Description |
|---|---|---|---|
--issueLinkTypeId | string | Yes | The ID of the issue link type. |
Example:
jr issueLinkType delete-issue-link-type --issueLinkTypeId <issueLinkTypeId>get-issue-link-type
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}
| Flag | Type | Required | Description |
|---|---|---|---|
--issueLinkTypeId | string | Yes | The ID of the issue link type. |
Example:
jr issueLinkType get-issue-link-type --issueLinkTypeId <issueLinkTypeId>get-issue-link-types
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:
jr issueLinkType get-issue-link-typesupdate-issue-link-type
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}
| Flag | Type | Required | Description |
|---|---|---|---|
--body | string | No | request body (JSON string, @file, or - for stdin) |
--issueLinkTypeId | string | Yes | The ID of the issue link type. |
Example:
jr issueLinkType update-issue-link-type --issueLinkTypeId <issueLinkTypeId>