Class: StatusCategoryClient

StatusCategoryClient(jiraClient)

new StatusCategoryClient(jiraClient)

Used to access Jira REST endpoints in '/rest/api/2/statuscategory'

Parameters:
Name Type Description
jiraClient JiraClient
Source:

Methods

getAllStatusCategories(opts, callbackopt) → {Promise}

Returns a list of all statusCategories visible to the user

Parameters:
Name Type Attributes Description
opts

Ignored

callback <optional>

Called when the statusCategories have been retrieved.

Source:
Returns:

Resolved when the statusCategories have been retrieved.

Type
Promise

getStatusCategory(opts, callbackopt) → {Promise}

Get a full representation of the statusCategory that has the given id or key.

Parameters:
Name Type Attributes Description
opts

The options sent to the Jira API

Properties
Name Type Description
statusCategoryIdOrKey

A String containing a statusCategory id

callback <optional>

Called when the statusCategory has been retrieved.

Source:
Returns:

Resolved when the statusCategory has been retrieved.

Type
Promise