new PriorityClient(jiraClient)
Used to access Jira REST endpoints in '/rest/api/2/priority'
Parameters:
Name | Type | Description |
---|---|---|
jiraClient |
JiraClient |
- Source:
Methods
getAllPriorities(opts, callbackopt) → {Promise}
Returns a list of all priorities visible to the user
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
opts |
Ignored |
||
callback |
<optional> |
Called when the priorities have been retrieved. |
- Source:
Returns:
Resolved when the priorities have been retrieved.
- Type
- Promise
getPriority(opts, callbackopt) → {Promise}
Get a full representation of the priority that has the given id.
Parameters:
Name | Type | Attributes | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
opts |
The options sent to the Jira API Properties
|
||||||||
callback |
<optional> |
Called when the priority has been retrieved. |
- Source:
Returns:
Resolved when the priority has been retrieved.
- Type
- Promise