Constructor
new MyPreferencesClient(jiraClient)
Used to access Jira REST endpoints in '/rest/api/2/mypreferences'
Parameters:
Name | Type | Description |
---|---|---|
jiraClient |
JiraClient |
- Source:
Methods
deletePreference(opts, callback)
Removes preference of the currently logged in user. Preference key must be provided as input parameters (key).
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
opts |
The request options send to the Jira API. Properties
|
|||||||
callback |
Called when the preference has been deleted. |
- Source:
editPreference(opts, callback)
Sets preference of the currently logged in user. Preference key must be provided as input parameters (key).
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
opts |
The request options send to the Jira API. Properties
|
||||||||||
callback |
Called when the preference has been edited. |
- Source:
getPreference(opts, callback)
Gets preference of the currently logged in user. Preference key must be provided as input parameter (key). The value is returned exactly as it is.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
opts |
The request options send to the Jira API. Properties
|
|||||||
callback |
Called when the preference has been retrieved. |
- Source: