InvalidInputException with HTML - Validator Module - Jira addon

Hi.

im trying add a HTML (i.e <a href=$baseurl+/KEY-123>KEY-123<a>) inside of InvalidInputException.

Make this:

public void validate(Map transientVars, Map args, PropertySet ps) throws InvalidInputException {
String html = "<a href=$baseurl+/KEY-123>KEY-123</a>";
throw new InvalidInputException(i18n.getText(“plugin.temposynch.validate.field.estimate.less”).concat(html));
}

Have another way to do this?

Thanks.

Hi @jonasgoms,

Are you trying to add an HTML string like <a href=$baseurl+/KEY-123>KEY-123</a> inside InvalidInputException? Is there a specific error you’re trying to address?

Cheers,
Ian

Hi @iragudo, thanks for answering.

Yes Ian, just like that. And no specific error, is just add a link that the user can click.

Cheers.