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 edited

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
atlassian, rovo agent workshop, rovo workshop series, build rovo agent, atlassian intelligence, ai agents, rovo in action, automation agents, ai for teams, atlassian learning, rovo development, agent building tutorial

[Workshop Series] Let's build a Rovo Agent

AI-curious? This series walks you through building Rovo Agents step by step, no matter your experience level. Multiple workshops available throughout October and November!

Register now
AUG Leaders

Upcoming Jira Events