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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.