Forums

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

How to format the comment mentions for JSON import into JIRA

Vaisakh Sasikumar
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!
July 20, 2023

I know how the format for comments is in JSON format. But If I have to specify a mention of a user in a comment so that a bubbled user is present in the comment. 

1 answer

0 votes
Ivan Chapistrak
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 16, 2023

G'day @Vaisakh Sasikumar 

You can use syntax: [~accountId:<account id>] in the body of the comment. 
Instead of <account id> put a correct user account_id who should be mentioned.


Sample: 

"comments": [
{
"body": " Hello [~accountId:xxxxx-xxxxx-xxxxx-xxxxxx]. ",
....
}]

Suggest an answer

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

Atlassian Community Events