new ApplicationPropertiesClient(jiraClient)
Used to access Jira REST endpoints in '/rest/api/2/application-properties'
Parameters:
Name | Type | Description |
---|---|---|
jiraClient |
JiraClient |
- Source:
Methods
getProperties(optsopt, callbackopt) → {Promise}
Gets an application property.
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object |
<optional> |
The options used to make the request. Properties
|
||||||||||||||||
callback |
callback |
<optional> |
Called when the properties are retrieved. |
- Source:
Returns:
Resolved when the properties are retrieved.
- Type
- Promise
getProperties(opts, callbackopt) → {Promise}
Modify an application property via PUT. The "value" field present in the PUT will override thee existing value.
Parameters:
Name | Type | Attributes | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object | The options for modifying the application property. Properties
|
||||||||||
callback |
<optional> |
Called when the property has been modified |
- Source:
Returns:
Resolved when the property has been modified
- Type
- Promise