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