Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Send Slackbot message

Hi folks, 

 

I'm going to make automation and I would like to know, if: 

Is it possible send slackbot message to issue owner? 

 Screen Shot 2021-11-09 at 12.07.04.png

I know that we can send message to Salck channel, but I would like to send DM. 

1 answer

1 accepted

1 vote
Answer accepted
Tessa Tuteleers Community Leader Nov 09, 2021

Hi @Douglas Souza , 

the answer is in your screenshot already. 

Messages are sent to the default channel specified in your webhook, but you can override this by specifying another channel with '#other-channel', or a specific user with '@userID'. Slack no longer supports @usernames, you can find out more about this in our docs, including how to find member IDs.

You need the slack user ID of a user to send a DM on slack.
Note that this isn't the same as someone's display name. You can find their member ID by opening someone's profile in Slack and selecting More () > Copy member ID.

As Slack and Jira users are not connected, they can't know these IDs from the Jira user (reporter) to do this dynamically. 

Tessa

Daniel Eads Atlassian Team Nov 09, 2021

There is a script you can run to add a Slack UID to a user's properties in Jira (assuming both Slack and Jira use the same email address. Details here: Mention someone directly in Slack via Jira Automation 

Like Tessa Tuteleers likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

JSM Jira Automation: How to Send SLA Breached Notifications

Hi Everyone, In   this tutorial,  we will show you how you can monitor an SLA, and send notifications before or after the SLA has been breached.   SLA Threshold Trigger The SLA t...

722 views 5 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you