We want to send an email to an email alias based on the value of a custom field "Pod", e.g. if Pod =="ABC" then send mail to "myusergroup1.test.com", if Pod="DEF" then send mail to "myusergroup2.test.com. We are using the cloud version of Jira.
Is there a similar example of this done via ScriptRunner?