Forums

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

Automating a slack message to a user that is tagged in a custom field

Ofir Oxenberg
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!
April 10, 2025

Hello, 

 

I'm trying to create an automation that should send a message to a user assigned to a custom field when a US is moved to a certain column. 

I didn't understand how to do it with the options I have:

Screenshot 2025-04-10 at 15.43.39.png

When I looked at how to do it the results I got were that I need to switch from webhook-based Slack automation to the native Slack-Jira integration.

Can someone explain? 

Thanks!

1 answer

1 vote
Bill Sheboy
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.
April 10, 2025

Hi @Ofir Oxenberg -- Welcome to the Atlassian Community!

After the changes to the Slack interface Jira automation uses, it is no longer possible to send a direct message to a Slack user.  (There is a workaround, but it requires creating a separate channel for each user...although I have not tried that.)

 

What is possible is to mention the user using their Slack ID value.

For that to work, the Slack ID values must be captured from Slack and stored in Jira, such as with user entity properties.  Once set up, this makes it easy to mention them in the Slack message, such as with:

<@{{issue.reporter.properties.metadata.slack_id}}>

 

Setting it up is the challenging part.  To bulk-set all the data for users, please see this article from Atlassian:

https://community.atlassian.com/forums/Automation-articles/Mention-someone-directly-in-Slack-via-Jira-Automation/ba-p/1528605

To instead try this out, or only set up a few users, another automation rule could be used, such as described in this post I wrote:

https://community.atlassian.com/forums/Jira-questions/Re-Re-Iterate-through-JQL-result-of-issues-extract-cer/qaq-p/2916834/comment-id/1081211#M1081211

 

Kind regards,
Bill

Ofir Oxenberg
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!
April 15, 2025

Thanks, Bill! 

I'll try that

 

Kind regards,

Ofir. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events