Class: PasswordClient

PasswordClient(jiraClient)

new PasswordClient(jiraClient)

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

Parameters:
Name Type Description
jiraClient JiraClient
Source:

Methods

getPasswordPolicy(opts, callbackopt) → {Promise}

Returns user-friendly statements governing the system's password policy.

Parameters:
Name Type Attributes Description
opts

The request options to send to the Jira API

Properties
Name Type Attributes Default Description
hasOldPassword boolean <optional>
false

Whether or not the user will be required to enter their current password. Use false (the default) if this is a new user or if an administrator is forcibly changing another user's password.

callback <optional>

Called when the password policy has been retrieved.

Source:
Returns:

Resolved when the password policy has been retrieved.

Type
Promise