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,556,707
Community Members
 
Community Events
184
Community Groups

Need Assistance with @mentions in Jira Automation for Object's User Type Attribute

x_y
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 23, 2023

Hi,

I'm currently working on implementing an Account Access Request form for our organization. We want to streamline the process by automatically notifying the corresponding SystemAdmins when a request is submitted. We have an object type that contains each application's info including all the system admins for each application and linked with a custom field called Roles(customfield_10079). What smart value should I use to @mention all the user in that attribute? The SystemAdmins is a user type attribute and can store multiple user. I am able to display all the user's name by using smart value like this:

{{#issue.customfield_10079.SystemAdmin}}

[@{{displayName}}]

{{/}}"

But it only display the text ( [@xxx aa, bbb xx]) not actually @ those two agent.

I also tried :

{{#issue.customfield_10079.SystemAdmin}}

- [~accountid:{{accountId}}]

{{/}}

It can only display @User. I've tried different smart value combinations, but I haven't been successful in achieving the desired result. Can you help me? Thanks.12.png13.png xxx.png

1 answer

1 vote
Marini Marini
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.
May 24, 2023

Hi @x_y 

Welcome to the Atlassian community!

Let e know if I understand your current setup correctly:

  1. You have an Asset object, SystemAdmins, where the type is User and has default value from Jira groups
  2. You have a Jira Asset custom fields, Roles, where it retrieved the value of the SystemAdmins object

Please try the following smart value

{{#issue.Roles.SystemAdmins.flatten}}[~{{.}}]{{/}}

Cheers,

Marini

Suggest an answer

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

Atlassian Community Events