When I use the Regular Expression Check (JSU) validator I can set an error message.
According to
https://community.atlassian.com/t5/Jira-questions/Why-does-the-validator-not-show-the-error-message-on-Field/qaq-p/1376065
you can show a message when in the validator with in ScriptRunner
throw new InvalidInputException("message")
How do I do that in a SIL script?
How do I do this when validating fields in SIL script?
In sil you would do it like so :
return
false
,
"fieldName"
,
"Error message
;
For more info : Customizing Workflows with SIL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.