getAutoCompletePost method
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 filter the custom fields returned by project. Invalid
project IDs in projectIds
are ignored. System fields are always
returned.
It can also return the collapsed field for custom fields. Collapsed fields
enable searches to be performed across all fields with the same name and
of the same field type. For example, the collapsed field Component - Component[Dropdown]
enables dropdown fields Component - cf[10061]
and
Component - cf[10062]
to be searched simultaneously.
Permissions required: None.
Implementation
Future<JQLReferenceData> getAutoCompletePost(
{required SearchAutoCompleteFilter body}) async {
return JQLReferenceData.fromJson(await _client.send(
'post',
'rest/api/3/jql/autocompletedata',
body: body.toJson(),
));
}