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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


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
Community Members
Community Events
Community Groups

Automation - extract tagged user from comment and save as a smart value

josh ke
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!
Apr 16, 2023

Hi, I have a use case where we need to have a smart value of someone comment in comments and tag another user. For example, someone put in comment as “@user please have a look. “ and we want to extract the first name and last name of this @User and save as a smart value. Just wondering if someone can help me of this? 

1 answer

1 accepted

1 vote
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.
Apr 17, 2023 • edited

Hi @josh ke -- Welcome to the Atlassian Community!

When a user is mentioned in a comment, that results in the following in the field:


So to get the name from that, I recommend you add a user custom field instead of a text one and...

One possible challenge is when you expect there to be more than one mention in a comment.  In that case, I recommend first splitting the comment on line breaks, performing the match(), and then decide how to store the users.  In this case, you would need a multi-select user field.

Kind regards,

josh ke
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!
Apr 17, 2023

Thanks for the detail explanation. This gives me some work around to solve my issue. 

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events