.ok(i18n
.getText("queryfields.service.error.parameters.invalid"))
.status(400).build();
}
CustomField cf = ComponentManager.getInstance().getCustomFieldManager()
.getCustomFieldObject(cfId);
if (cf == null)
{
log.error("QueryAutocompleteService::validateInput - Custom field is null. Incorrect data in plugin settings");
return Response
.ok(i18n.getText("queryfields.service.error.cfid.invalid"))
.status(400).build();
}
AutocompleteUniversalData entity = new AutocompleteUniversalData();
if (Utils.isOfQueryMultiSelectType(cf.getCustomFieldType().getKey()))
{
Issue issue = ComponentManager.getInstance().getIssueManager()
.getIssueObject(cfValue);
if (issue == null)
{