Forums

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

Automation: how to dispatch Slack message with @mention

Amy Chan
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 27, 2026

Hello, I'm new to Jira automation.

I'm trying to create an automation that sends a Slack message with "@ mention", but I don't know how to dynamically insert the story-ticket assignee's name (e.g. @TicketAssigneedName) in the message. 

The webhook to Slack is already set up and messages are sent to my specified channel correctly.

Could someone give me a pointer? Thanks!!

~amy

2 answers

2 votes
Mikael Sandberg
Community Champion
January 27, 2026

You would need to know the Slack Member ID of the person you want to @ mention. There are a couple of ways of doing this, check out this article of one way. At my previous job I created the user property with the member Id when the user was imported from Okta the first time, including some other information we used like location.

There is a new component in Automations that would allow you to @ mention the person directly without knowing the Slack Member Id, but there is a bug that is preventing you from doing so unless it is an alert in operations. Let me see if I can find it. There is also this suggestion to add more features to the Slack integration, see AUTO-203 

Mikael Sandberg
Community Champion
January 27, 2026

Here is the bug for the Slack DM component, JSDCLOUD-17865. It has been closed but based on the comments there are still some issues with it, and if it works it only works to send DMs to the user. For @ mentions you currently have to use the Slack member Id and then the message would look something like this:

<@ABC123456> Here is a new issue, {{issue.key}}
Like Duc Thang TRAN likes this
0 votes
Duc Thang TRAN
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 Champions.
January 28, 2026

Hello @Amy Chan 

It’s not exactly your case, but for me it’s the same concept. 

In Jira Cloud, I am using a lookup table (jir automation ) to create a mapping between each Jira team and the corresponding Microsoft Teams channel ID.

Lookup table  allows the automation to retrieve the correct channel ID based on the team assigned to the Jira ticket.

However, there are some limitations:

The values in the lookup table must be kept up to date manually.

The lookup table is limited to a maximum of 100 entries.

 

Hope this can help 

Suggest an answer

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

Atlassian Community Events