Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

When trying to validate Email address i am getting the below error in JMWE

Raj Kumar March 22, 2024

This is the error message iam getting while trying to validate Email address.Email Validation.PNGAny suggestions would be helpful.

 

Thanks.

1 answer

2 votes
David Fischer
Community Champion
March 22, 2024

Hi @Raj Kumar 

the reason why you're getting this error is because you've typed a Groovy script instead of a Jira Expression. Groovy is used on Jira Data Center, whereas Jira Cloud only supports Jira Expressions, an Atlassian-made language.

You can use the Jira Expressions "match" method of strings instead:

issue.customfield_12345?.match('^\w+$')

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events