Class: PermissionsClient

PermissionsClient(jiraClient)

new PermissionsClient(jiraClient)

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

Parameters:
Name Type Description
jiraClient JiraClient
Source:

Methods

getAllPermissions(opts, callbackopt) → {Promise}

Returns all permissions that are present in the JIRA instance

  • Global, Project and the global ones added by plugins
Parameters:
Name Type Attributes Description
opts

The request options sent to the Jira API.

callback <optional>

Called when the permissions have been returned.

Source:
Returns:

Resolved when the permissions have been returned.

Type
Promise