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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,558,947
Community Members
 
Community Events
184
Community Groups

Trying to use Automation to tag several users for a custom field

I am trying to create an automation so when the collabs custom field (people field with multiple users) is edited, then a comment is created, tagging them letting them know that they have been tagged. This is what I have so far, but it is not working: 

Hello [~accountid:{{customfield_20056.accountId}}], you have been added to {{issue.key}} as a collaborator. Please see the ticket for further information.

 

I have done this before for a custom field, but never for a custom field that has more than one person in it (it is not restricted to a single user). I am wondering if this is not supported yet in team-managed projects or Jira?

1 answer

1 accepted

0 votes
Answer accepted
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 16, 2021

Hi Andrea,

I have not tried to do that for a Team-managed project before. But does it have to be a comment added? Can it just be an email that gets sent using Automation for Jira? 

That is a great idea! That will work! In the to: field, can I just put {{customfield_20056.accountId}} or how would I do that?

Like John Funk likes this
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 16, 2021

You should be able to just type in the name of the field. I have not tried that with a multi-user field though. 

I tried it for one user first. I have the to field filled out with this smart value: 

collabautomation.jpg

The error message in the automation Audit Log says that the "to" field is empty when it's not. :(

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 16, 2021

Did you try with just the field name? Start typing and it should come up. 

for whatever reason, it doesn't recognize the field as a people field:emailcollabsmartvalue.jpg

The only options seemed to be standard/default Jira people fields 

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 16, 2021

I thought that Collabs was a people picker field. Is it not? 

When I type in the field name for a multi-user people picker field, it comes up:

screenshot.png

It is, but I'm not sure why it doesn't show up :(

collabfield.jpg

collabnotshowup.jpg

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 16, 2021

Ah! I forgot this field created on a Team-managed project. So, yeah, it looks like it's not supported. 

Good to know! Thank you! I will definitively use this in the future for company-managed projects. 

Do you have any other ideas on how to notify multiple users when added to a custom field? 

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 17, 2021

Not unless you just hard code their email addresses in the To field. 

Oh interesting, thank you!

Like John Funk likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events