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

Tagged user names in Comments getting mailed as [~accountid:xxx]

Vibhor Kumar Agarwal September 17, 2024

Hello Folks,

 

We have created an automation in Jira cloud to mail whenever issues are commented.

 

This is working as expected apart from one anomaly:

If the comments mention user's via @User then they get mailed as [~accountid:xxxxxx].

They are visible perfectly as user names in comments in Jira Cloud.

 

Kindly let us know how to get them mailed as usernames as visible in comments.

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.
September 18, 2024

Hi @Vibhor Kumar Agarwal -- Welcome to the Atlassian Community!

Short answer: that is not easily possible with the built-in features of Jira automation rules.

 

Jira Cloud implements mentions using the account id value for a user, as you see in the comment, body text you are emailing.  When the mentions are displayed in the UX the app code displays the users' display names by looking them up.  (There is an open suggestion to change the behavior such that when the selected email format is text the display name is used: https://jira.atlassian.com/browse/JRACLOUD-80722)

For an emailed comment to include the display names they would need to be looked up from the user data.  That is likely only possible for a small number of users due to performance and rule looping constraints.

 

What problem are you trying to solve by emailing the comments?  Knowing that may help the community to offer other suggestions.

 

Kind regards,
Bill

Vibhor Kumar Agarwal September 18, 2024

Ok, thanks.

It helps to understand the background (was thinking where am I messing up :)).

 

By UX do we mean "user experience"?

 

Requirement is coming from project team to get notifications for every comment added on a certain type of issue.

Created an automation with trigger "issue comment" to get this done.

 

Only gotcha here is getting accoundId's in case of mentions.

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.
September 18, 2024

Yes, I meant as the mentions are shown in the user interface / user experience.

The only workarounds at this time would be to investigate marketplace apps to send the emails or build your own which can look-up the user names.

Vibhor Kumar Agarwal September 18, 2024

Great,

Thanks for the help.

nnmx_x01
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!
February 12, 2025

Ok

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events