/
JMWE Cloud: Add a comment mentioning/tagging all members of a group

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.

image-20240701-131426.png 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.

  1. Add a JMWE Comment issue(s) post-function to your workflow to or an Action, based on your requirement.

  2. 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!
    1. 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.

  3. Fill in the other details in the post function based on your use case.

  4. 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!
image-20240701-132107.png

 

Result:

Related content