You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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?
Hi @josh ke -- Welcome to the Atlassian Community!
When a user is mentioned in a comment, that results in the following in the field:
[~accountid:thePersonsAccountId]
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,
Bill
Thanks for the detail explanation. This gives me some work around to solve my issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.