Class: ProjectCategoryClient

ProjectCategoryClient(jiraClient)

new ProjectCategoryClient(jiraClient)

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

Parameters:
Name Type Description
jiraClient JiraClient
Source:

Methods

getAllProjectCategories(opts, callbackopt) → {Promise}

Returns a list of all projectCategories 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

getProjectCategory(opts, callbackopt) → {Promise}

Get a full representation of the projectCategory that has the given id.

Parameters:
Name Type Attributes Description
opts

The options sent to the Jira API

Properties
Name Type Description
projectCategoryId

A String containing a projectCategory id

callback <optional>

Called when the projectCategory has been retrieved.

Source:
Returns:

Resolved when the projectCategory has been retrieved.

Type
Promise