Class: WorkflowClient

WorkflowClient(jiraClient)

new WorkflowClient(jiraClient)

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

Parameters:
Name Type Description
jiraClient JiraClient
Source:

Methods

getWorkflows(opts, callbackopt) → {Promise}

Returns all workflows.

Parameters:
Name Type Attributes Description
opts Object

The request options sent to the Jira API

Properties
Name Type Attributes Description
workflowName string <optional>

The name of the workflow to retrieve.

callback <optional>

Called when the workflow(s) have been retrieved.

Source:
Returns:

Resolved when the workflow(s) have been retrieved.

Type
Promise