I'm trying to use the "Send a Custom Email" option under Script Listeners with the Scriptrunner add-on.
Particularly, I want to send an email when the following 4 conditions are met:
- IssueType = Game Bug
- Status = Reviewing
- Custom Field Level = whitebox_01 (single-select dropdown field)
- Custom Field Game Mode = RB (multi-select checkbox field)
Right now, I have the email set to fire on an Issue Updated event with the following Condition & Configuration:
(issue.issueType.name == 'Game Bug') && (cfValues['Game Mode'] == 'RB') && (cfValues('Level') == 'whitebox_01' && (issue.getStatusObject.getName() == 'Reviewing')
I believe some of my syntax is off on the condition, particularly referencing the custom field names correctly.