Hi,
I am trying to add a regular expression in the scripted validator in Jira Cloud for the text field with an email address.
I tried with
issue.customfield_10000 =~”^([])$”
But it is failing.
The error is:
Jira expression failed to parse: line 1, column 24: ., ?., [, ?.[, (, *, /, %, +, -, <, <=, >, >=, ==, !=, &&, ||, ??, ?, ; or EOF expected, = encountered.
I can use the native way but it doesn't allow me to add a custom error message.