Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


How do I mention someone in a ticket using REST?

I'm creating a ticket but also want to mention a user in the description. I know the email. Do I have to look the user id before being able to mention?

When mentioning the user from the UI it turns up like this

type: "paragraph",
content: [
type: "mention",
attrs: {
id: "[user id]",
text: "@My Users Name",
accessLevel: "",
type: "text",
text: " ",


3 answers

1 accepted

0 votes
Answer accepted

Yes... I need to provide the id of the user...

In a RESTful API context, mentioning someone in a ticket typically involves sending a request to the server to associate a user with a specific ticket or include them in some kind of notification system. The specific implementation details can vary based on the API and platform you're working with, but generally, you would use HTTP methods (like POST or PATCH) to update or create a ticket with the mentioned user.

Here's a general example using HTTP POST:

POST /api/tickets/:ticketId/mentions
Content-Type: application/json

"mentionedUserId": "123",
"message": "Hey, could you take a look at this ticket?"

In this example:

- `POST /api/tickets/:ticketId/mentions` is the endpoint for mentioning someone in a ticket. You would replace `:ticketId` with the actual identifier of the ticket.

- `Content-Type: application/json` indicates that the request body will be in JSON format.

- The JSON payload includes the `mentionedUserId` field, representing the ID or unique identifier of the user you want to mention.

- The `message` field can contain an optional message to accompany the mention.

Keep in mind that this is a simplified example, and the actual implementation details can vary depending on the API specifications or conventions used by the system you're working with. It's recommended to consult the API documentation of the service you're integrating with for accurate and detailed information on how to mention someone in a ticket using their REST API.

0 votes
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 27, 2023


This seems correct to me. You can also take a look at this thread

Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events