Constructor
new IssueLinkTypeClient(jiraClient)
Used to access Jira REST endpoints in '/rest/api/2/issueLinkType'
Parameters:
Name | Type | Description |
---|---|---|
jiraClient |
JiraClient |
- Source:
Methods
createIssueLinkType(opts, callback)
Create a new issue link type.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
opts |
The request options sent to the Jira API Properties
|
|||||||
callback |
Called when the IssueLink type has been created. |
- Source:
deleteIssueLinkType(opts, callback)
Delete the specified issue link type.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
opts |
The request options sent to the Jira API Properties
|
|||||||
callback |
Called when the IssueLink type has been delete |
- Source:
editIssueLinkType(opts, callback)
Update the specified issue link type.
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
opts |
The request options sent to the Jira API Properties
|
||||||||||
callback |
Called when the IssueLink type has been updated. |
- Source:
getAvailableTypes(opts, callback)
Get a list of available issue link types, if issue linking is enabled. Each issue link type has an id, a name and a label for the outward and inward link relationship.
Parameters:
Name | Type | Description |
---|---|---|
opts |
The request options for the API. Ignored in this function. |
|
callback |
Called when the available IssueLink types are retrieved. |
- Source:
getIssueLinkType(opts, callback)
Gets for a given issue link type id all information about this issue link type.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
opts |
The request options sent to the Jira API Properties
|
|||||||
callback |
Called when the IssueLink type has been retrieved |
- Source: