How to mention people in comments

Andrey Ivanov
Contributor
October 18, 2024

Hi all! I need to do automation, when a task is created, it tags a person in the comments. I can't figure out what format to do this in. @Name and [@name] doesn't work I have a server version

2 answers

1 accepted

3 votes
Answer accepted
Ramin Shanehsaz
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.
October 18, 2024

Hi,

the format on server is the following:

[~username]

It is important that you use the user name, not the display name. Account ID is only relevant on cloud.

I hope this helps!

Andrey Ivanov
Contributor
October 18, 2024

Hi, it didn't work

Andrey Ivanov
Contributor
October 18, 2024

Thank you very much, it helped, but I had to enter not the username, but the email

Like Ramin Shanehsaz likes this
0 votes
Max - Swift Checklist Dev
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.
October 18, 2024

Hi @Andrey Ivanov ,

 

to mention a user you should use the next format 

[~accountid:<USER_ACCOUNT_ID>]

For example:

[~accountid:abcd-123b-sadf-123]

 

The easiest way to find user account id would be using JQL - type something like 

assignee = <Your user name> and then just copy the result JQL string, it will be converted into "assignee = abcd-123b-sadf-123"

Andrey Ivanov
Contributor
October 18, 2024

Thanks for the answer, can you tell me where to get the account id?

Andrey Ivanov
Contributor
October 18, 2024

I have a server version

Max - Swift Checklist Dev
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.
October 18, 2024

Sorry, I missed that you are looking a solution for server. For server should work approach which @Ramin Shanehsaz  suggested https://community.atlassian.com/t5/Jira-questions/Re-How-to-mention-people-in-comments/qaq-p/2844157/comment-id/1060779#M1060779 

 

You can try to create a comment, and mention all that you need and then switch the comment editor from Visual to Text mode, there you will be able to see all mentions formats.

Like Ramin Shanehsaz likes this

Suggest an answer

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

Atlassian Community Events