Hello,
I don't know how to set a condition where an email will only send if the recipient belongs to a specific group.
I'm trying to add a condition within the post-function that sends an email after a transition. The condition is that the custom field--which identifies a person (not an assignee or reporter) with a specific role in the issue--should belong to a specific group in order for the email to be sent.
Here is the code that I typed:
issue.get("project")?.name == ("Testing") && issue.getAsString("customfield_10110") in xyz Group.
I basically don't know what should follow after identifying the customfield that I want to check.
I'm using the Update parameters of the Email issue (JMWE add-on) Function for this transition