Hi Atlassian Community,
I have the following condition for a script post function (send a custom email) configured:
(issue.getSummary().find('STRING1') || issue.componentObjects*.name.contains('STRING1')) && !(issue.reporter?.displayName.equals('Standby'))
I would also like to add a description field check when STRING2 is also included in the issue description (AND). I tried adding "&& (issue.getDescription().find('STRING2')" but this did not work and threw an groovy error during the custom mail preview.
Thank you for your assistance.
Regards