Class: SettingsClient

SettingsClient(jiraClient)

new SettingsClient(jiraClient)

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

Parameters:
Name Type Description
jiraClient JiraClient
Source:

Methods

getIssueNavColumns(opts, callbackopt) → {Promise}

Returns the default system columns for issue navigator. Admin permission will be required.

Parameters:
Name Type Attributes Description
opts

Ignored

callback <optional>

Called when the columns have been retrieved

Source:
Returns:

Resolved when the columns have been retrieved

Type
Promise

setBaseUrl(opts, callbackopt) → {Promise}

Sets the base URL that is configured for this JIRA instance.

Parameters:
Name Type Attributes Description
opts

The request options sent to the Jira API.

Properties
Name Type Description
newUrl

The new base url.

callback <optional>

Called when the base url has been set.

Source:
Returns:

Resolved when the base url has been set.

Type
Promise