The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to capture the user name when someone is @ in comments?

chris sieverts
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 Champions.
January 29, 2026

For compliance reasons, we are capturing comments made on a Jira work items using the following:

date created: {{comment.created}}
ID: {{comment.id}}
Comment author display name: {{comment.author.displayName}}
Comment author email: {{comment.author.emailAddress}}
Comment: {{comment.body}}
Comment visibility type: {{comment.visibility.type}}
Comment visibility value: {{comment.visibility.value}}

however, when someone is "@" we are only getting the accountid which is something like "455263865943657686ghjd6". I do not see a smart value for capturing the username for the person who is mentioned by the "@". 

 

Has anyone any idea how to do this?

Thank you!

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

3 votes
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 Champions.
January 29, 2026

Hi @chris sieverts 

When you only have the accountId value for the user, you have a few approaches to find their displayName in the rule:

  1. The rule could call the Get User REST API endpoint using the Send Web Request action
  2. Using a user-picker, custom field, the rule could set the field value, Re-fetch Work Item Data, and then get the user's other attributes, such as the displayName
  3. For a site with only a few users (e.g., a free license level) use a Lookup Table.  I would not recommend using this approach due to the potential maintenance problem of keeping the table up to date.

 

Kind regards,
Bill

chris sieverts
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 Champions.
January 30, 2026

Thank you @Bill Sheboy , I'll take a look at these ideas

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 Champions.
June 6, 2026

Hi @chris sieverts 

Just following up to check if this answered your question.  If so, please consider marking this one as "answered".  That will help others with a similar need find solutions faster.  If not, please let the community know what help you need.

Thanks!

chris sieverts
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 Champions.
June 9, 2026

Hi Bill, I appreciate all that however I've not responded because we've tabled this for now. should we pick this up in the future I'll be able to have a meaningful response. thanks

Like Bill Sheboy likes this
TAGS
AUG Leaders

Atlassian Community Events