The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting and mention users in comment from Custom_Field(Multi Choice User),,,,,Jira Automation

Razmik Mikayelyan
December 3, 2021

the project has a custom_field with the name Approvers(Multi Choice User Field), we want to create an authorization in which, in the Waiting for Review status, the automation added a commentary with mention of all users who were indicated in the custom_field approvers ,,, as you can specify and mention all users in the approvers field in the automation

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

4 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
December 3, 2021

Hi @Razmik Mikayelyan 

You could use list functions with your custom field to iterate and mention them all.  For example:

Mentioning approvers for action:

{{#issue.Approvers}} [~accountid:{{accountId}}] {{^last}}, {{/}}{{/}}

This iterates over the values in the custom field, adding a mention for each person selected.

Kind regards,
Bill

Robert Banister
Contributor
August 5, 2024

This is brilliant - just solved a Rule customization for me. Many thanks! 

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events