We have a script listener that looks for a P1 ticket, and then email's us a standard email to let us know that it was been raised and the condition we use is;
cfValues['IS Priority']*.value.contains("P1")
How can I add an extra condition to this? I would like to add an extra condition that if it is a P1 and "Custom Field = Value" then send us an email. Is is possible to add two fields into a groovy condition?