JMWE Cloud: Add a comment mentioning/tagging all members of a group
This article explains how to add a comment on a ticket mentioning/tagging all members of a specific group using JMWE Comment issue(s) post-function.
Instructions
This post function can be added in several places based on your requirements: JMWE post-functions added to workflows, or in JMWE Actions: Event-based or Scheduled or Shared Actions.
Add a JMWE Comment issue(s) post-function to your workflow to or an Action, based on your requirement.
Use the following template as the Comment body:
This is a support request. {% if ( ('<group_name>' | groupMembers | length) > 0) %} [~accountid:{{'<group_name>' | groupMembers | join("] [~accountid:", "_accountId")}}] {% endif %} please review!Replace Placeholders
Replace
<group_name>with the actual name of the group (case-sensitive, no leading or trailing spaces).Customize the remaining text as needed.
Fill in the other details in the post function based on your use case.
Save the post function.
Example Configuration
This is a support request. {% if ( ('QA team' | groupMembers | length) > 0) %} [~accountid:{{'test group 1' | groupMembers | join("] [~accountid:", "_accountId")}}] {% endif %} please review!
Result: