Forums

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

No documentation for how to use @ mentions in Jira ticket using REST API

Heather Maxine Williams
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!
January 2, 2023

I need to @ mention a user in a Jira ticket that I'm generating using the python REST API.

The text formatting documentation says you can use

[~username]

to mention a user. However, users created more recently don't have usernames listed on their profiles. I tried using their full name, email address, and email address prefix and none of these worked. With some help I found the following workaround:

 

Find the profile page of the person you need to @ mention

https://biocarbon.atlassian.net/jira/people/a8adc7fad95e14d740b1edeb

then you can mention them using

[~accountid:a8adc7fad95e14d740b1edeb]

 

My problem is that this feature isn't mentioned anywhere in the documentation and the process is hacky. Is this syntax fully supported? Is there a preferred way to accomplish this that I should be using instead?

1 answer

0 votes
Carlos Garcia Navarro
Community Champion
January 2, 2023

Hi @Heather Maxine Williams ,

Welcome to the Community and Happy New Year! This other post may be helpful: https://community.atlassian.com/t5/Jira-Software-questions/Rest-API-v3-Add-Mention-to-Comment/qaq-p/1213708

Suggest an answer

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

Atlassian Community Events