...
Navigate to the intended workflow to make the necessary changes in the edit mode.
Select the required transition.
Select the Post functions tab and click
Add post function
.Add the Email issue(s) (JMWE app) post-function.
Add:
Email content: Enter Subject, Text Body as needed.
Recipients: Enter the following in Users from template:Code Block language java {% set allUsers = [] %} {% for grp in (issue.fields.customfield_10082 | field("name"))%} {% for user in (grp | groupMembers) %} {% if (allUsers | filter(user | field("accountId")) | length == 0) %} {% set ignored = allUsers.push(user | field("accountId")) %} {% endif %} {% endfor %} {% endfor %} {{ allUsers }}
...