Class: ApplicationProperties

ApplicationProperties

new ApplicationProperties()

ApplicationProperties

Properties:
Name Type Description
connector IConnector

the jira connector instance

Source:

Methods

getAdvancedSettings(options, callbackopt) → {Promise.<any>}

Returns the properties that are displayed on the "General Configuration > Advanced Settings" page.

Parameters:
Name Type Attributes Description
options Object

An object containing options to pass to the Jira API.

Properties
Name Type Description
token string

token The token to use for authentication. This token is supplied on a sucessful login. If not supplied, the default token (if set) is used

callback <optional>

if supplied, called with result of api call

Source:
Returns:

result of api call

Type
Promise.<any>

getProperty(options, callbackopt) → {Promise.<any>}

Returns an application property.a String containing the property keywhen fetching a list specifies the permission level of all items in the list see com.atlassian.jira.bc.admin.ApplicationPropertiesService.EditPermissionLevelwhen fetching a list allows the list to be filtered by the property's start of key e.g. "jira.lf.*" whould fetch only those permissions that are editable and whose keys start with "jira.lf.". This is a regex.

Parameters:
Name Type Attributes Description
options Object

An object containing options to pass to the Jira API.

Properties
Name Type Description
key string

key a String containing the property key

permissionLevel string

permissionLevel when fetching a list specifies the permission level of all items in the list see com.atlassian.jira.bc.admin.ApplicationPropertiesService.EditPermissionLevel

keyFilter string

keyFilter when fetching a list allows the list to be filtered by the property's start of key e.g. "jira.lf.*" whould fetch only those permissions that are editable and whose keys start with "jira.lf.". This is a regex.

token string

token The token to use for authentication. This token is supplied on a sucessful login. If not supplied, the default token (if set) is used

callback <optional>

if supplied, called with result of api call

Source:
Returns:

result of api call

Type
Promise.<any>

setPropertyViaRestfulTable(options, callbackopt) → {Promise.<any>}

Modify an application property via PUT. The "value" field present in the PUT will override the existing value.

Parameters:
Name Type Attributes Description
options Object

An object containing options to pass to the Jira API.

Properties
Name Type Description
id string

id

value string

value

token string

token The token to use for authentication. This token is supplied on a sucessful login. If not supplied, the default token (if set) is used

callback <optional>

if supplied, called with result of api call

Source:
Returns:

result of api call

Type
Promise.<any>