Class: ResolutionClient

ResolutionClient(jiraClient)

new ResolutionClient(jiraClient)

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

Parameters:
Name Type Description
jiraClient JiraClient
Source:

Methods

getAllResolutions(opts, callbackopt) → {Promise}

Returns a list of all resolutions visible to the user

Parameters:
Name Type Attributes Description
opts

Ignored

callback <optional>

Called when the resolutions have been retrieved.

Source:
Returns:

Resolved when the resolutions have been retrieved.

Type
Promise

getResolution(opts, callbackopt) → {Promise}

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

Parameters:
Name Type Attributes Description
opts

The options sent to the Jira API

Properties
Name Type Description
resolutionId

A String containing a resolution id

callback <optional>

Called when the resolution has been retrieved.

Source:
Returns:

Resolved when the resolution has been retrieved.

Type
Promise