Inside my open bug workflow, there's a aimple post condition, that if the TicketId or Case are not null, an email should be sent to a certain group of people.(condition - cfValues['TicketID'] != null || cfValues['Case'] != null)
This used to work in 4.4, after upgrade to 5.1 it is not working now.
I tried my script in Script runner and it worked. But while actually opening the bug with the relevant fields, I don't see it sent.
I've found this in the logs:
2012-12-13 23:11:48,089 http-8443-19 WARN tomeroz 1391x28695x1 1p15sw7 192.168.19.20 /secure/QuickCreateIssue.jspa [canned.workflow.postfunctions.SendCustomEmail] Could not handle field firstname.lastname@example.org,
2012-12-13 23:11:48,090 http-8443-19 WARN tomeroz 1391x28695x1 1p15sw7 192.168.19.20 /secure/QuickCreateIssue.jspa [canned.workflow.postfunctions.SendCustomEmail] Could not handle field email@example.com
2012-12-13 23:11:48,097 http-8443-19 ERROR tomeroz 1391x28695x1 1p15sw7 192.168.19.20 /secure/QuickCreateIssue.jspa [groovy.canned.utils.ConditionUtils] javax.script.ScriptException: groovy.lang.MissingPropertyException: No such property: groups for class: com.atlassian.crowd.embedded.ofbiz.OfBizUser
Thanks a lot, Tomer.
Type is public static String FIELD_TO_ADDRESSES = "FIELD_TO_ADDRESSES"
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG