public class SearchAutoCompleteApi extends Object
| Constructor and Description |
|---|
SearchAutoCompleteApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<JQLReferenceData> |
getAutoComplete(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get field reference data
Returns reference data for JQL searches.
|
io.reactivex.Single<AutoCompleteSuggestions> |
getFieldAutoCompleteForQueryString(Optional<String> fieldName,
Optional<String> fieldValue,
Optional<String> predicateName,
Optional<String> predicateValue,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get field auto complete suggestions
Returns the JQL search auto complete suggestions for a field.
|
public SearchAutoCompleteApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<JQLReferenceData> getAutoComplete(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns reference data for JQL searches. This is a downloadable version of the documentation provided in Advanced searching - fields reference and Advanced searching - functions reference, along with a list of JQL-reserved words. Use this information to assist with the programmatic creation of JQL queries or the validation of queries built in a custom query builder.
This operation can be accessed anonymously.
Permissions required: None.
restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<AutoCompleteSuggestions> getFieldAutoCompleteForQueryString(Optional<String> fieldName, Optional<String> fieldValue, Optional<String> predicateName, Optional<String> predicateValue, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns the JQL search auto complete suggestions for a field.
Suggestions can be obtained by providing:
fieldName to get a list of all values for the field.fieldName and fieldValue to get a list of values containing the text in fieldValue.fieldName and predicateName to get a list of all predicate values for the field.fieldName, predicateName, and predicateValue to get a list of predicate values containing the text in predicateValue.This operation can be accessed anonymously.
Permissions required: None.
fieldName - The name of the field.
(optional)fieldValue - The partial field item name entered by the user.
(optional)predicateName - The name of the CHANGED operator predicate for which the suggestions are generated. The valid predicate operators are by, from, and to.
(optional)predicateValue - The partial predicate item name entered by the user.
(optional)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
Copyright © 2011–2021 Everit Kft.. All rights reserved.