Good morning all,
I am new to adding custom validators for JMWE. I would like to add a validator that does 2 checks
1. If the customer request type = "New user application" - if this is true then (2)
2. Does email address field contain "@"
I have tried the following but it seems to only evaluate one statement & not both. So the validator is being applied to all request types & not just new user applications.
issue.get("Customer Request Type")?.name == "New user application" && issue.get("Email address").contains ('@')
Any assistance would be appreciate!