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

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 Leaders.
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! 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events