public class JqlApi extends Object
| Constructor and Description |
|---|
JqlApi(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.
|
io.reactivex.Single<ConvertedJQLQueries> |
migrateQueries(JQLPersonalDataMigrationRequest jqLPersonalDataMigrationRequest,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Convert user identifiers to account IDs in JQL queries
Converts one or more JQL queries with user identifiers (username or user key) to equivalent JQL queries with account IDs.
|
io.reactivex.Single<ParsedJqlQueries> |
parseJqlQueries(JqlQueriesToParse jqlQueriesToParse,
Optional<String> validation,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Parse JQL query
Parses and validates JQL queries.
|
public io.reactivex.Single<JQLReferenceData> getAutoComplete(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
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)
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](https://confluence.atlassian.com/x/hQORLQ#Advancedsearching-operatorsreference-CHANGEDCHANGED) 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.
public io.reactivex.Single<ConvertedJQLQueries> migrateQueries(JQLPersonalDataMigrationRequest jqLPersonalDataMigrationRequest, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
jqLPersonalDataMigrationRequest - (required)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<ParsedJqlQueries> parseJqlQueries(JqlQueriesToParse jqlQueriesToParse, Optional<String> validation, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
jqlQueriesToParse - (required)validation - How to validate the JQL query and treat the validation results. Validation options include: * `strict` Returns all errors. If validation fails, the query structure is not returned. * `warn` Returns all errors. If validation fails but the JQL query is correctly formed, the query structure is returned. * `none` No validation is performed. If JQL query is correctly formed, the query structure is returned. (optional, default to strict)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.