Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Mentioning multiple users from a user picker field through automation


I'm trying to tag or mention multiple users in an auto comment through automation rule. I created a custom field user picker of 'Code Reviewer(s)' and I want to tag all the users in that field in a comment.

For example:
"[~accountid:{{Code.Reviewer(s).accountId}}] this ticket is ready to be re-reviewed."

I've tried all these variations but nothing has worked:

  • [~accountid:{{Code.Reviewer(s).accountId}}]
  • [~accountid:{{Code Reviewer(s).accountId}}]
  • [~accountid:{{Code.Reviewer.displayName}}]

Is this possible?

1 answer

Hi @katie_kurty 

Have you tried treating your custom field as a list?  Perhaps something like this in the comment:

{{#issue."Code Reviewer(s)"}}
- [~accountid:{{accountId}}]

Please consider first writing to the audit log until you get your custom field name's smart value correct, and this should work.

If you have trouble getting the correct smart value, consider using the custom field number ID instead for "Code Reviewer(s)", which you can find using the method described in this how-to documentation:

Best regards,


Thanks Bill!

I'm sorry, I'm a little confused about what you are saying. I tried using what you wrote :

{{#issue."Code Reviewer(s)"}}
- [~accountid:{{accountId}}]
{{/}} This ticket is ready to be re-reviewed.

but only the comment displayed. Should I continue to play around with how "Code Reviewer(s)" is written? I also tried finding the custom field number ID by using Inspect but didn't see one displayed. 

Any further help would be great!



Hi, Katie.

Sometimes the key for automation and custom fields is finding the smart value.  Let's try this: use the log action to write just the field to the log, such as one of the following:

{{issue.Code Reviewers(s)}}

{{issue.code reviewers(s)}}

{{issue."Code Reviewers(s)"}}

If one of those works, substitute that into the example I provided. 

If not, please chat with your site admin to learn the custom id number for your field.  Then instead try this, substituting in the custom field number:


Once you get that to work, you can substitute it into:

- [~accountid:{{accountId}}]
This ticket is ready to be re-reviewed.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Trello

🏊‍♀️ Atlympic Event: Trello

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

139 views 2 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you