Class: Autocompletedata

Autocompletedata

new Autocompletedata()

Autocompletedata Resource for auto complete data for searches.

Properties:
Name Type Description
connector IConnector

the jira connector instance

Source:

Methods

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

Returns the auto complete data required for JQL searches.

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>

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

Returns auto complete suggestions for JQL search.the field name for which the suggestions are generated.the portion of the field value that has already been provided by the user.the predicate for which the suggestions are generated. Suggestions are generated only for: "by", "from" and "to".the portion of the predicate value that has already been provided by the user.

Parameters:
Name Type Attributes Description
options Object

An object containing options to pass to the Jira API.

Properties
Name Type Description
fieldName string

fieldName the field name for which the suggestions are generated.

fieldValue string

fieldValue the portion of the field value that has already been provided by the user.

predicateName string

predicateName the predicate for which the suggestions are generated. Suggestions are generated only for: "by", "from" and "to".

predicateValue string

predicateValue the portion of the predicate value that has already been provided by the user.

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>