Hello,
I am attempting to use a groovy expression as a condition on a transition post function to comment on an issue (JMWE addon).
The goal is to add a comment to an issue if either option A or B are the value for a specific field. I'm looking to see if this is possible instead of create an additional post function for option "B". The custom field is a single select drop-down.
Here is what I have so far, which works for one value:
return (issue.get("customfield_19100").find { it.getValue() == "A"} != null)I tried a few different expressions, but none seem to work in that way.
Thanks!