for (Issue i : issues)
{
if (params.contains(i.getStatusObject().getId()))
{
String issueUrl = Utils.getBaseUrl(JiraWebUtils.getHttpRequest()) + "/browse/" + i.getKey();
throw new InvalidInputException(
ComponentAccessor.getJiraAuthenticationContext().getI18nHelper().getText("queryfields.linkedvalidator.error", issueUrl, i.getStatusObject().getName()));
}
}
}
catch (SearchException e)