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.PNG Any suggestions would be helpful.

 

Thanks.

1 answer

2 votes
David Fischer
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events