Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

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

How do you send automatic Slack messages to a private channel?

Connor Skiro
Contributor
June 3, 2021

After reviewing Atlassian's Slack automation documentation, I could not find any specific documentation about sending messages via Automation for Jira to private channels.

I am able to send Slack messages automatically to public channels, however, I am receiving a 404 error when trying to send a message to a private Slack channel.

Screen Shot 2021-06-03 at 7.28.03 AM.png

Has anyone run into or solved this issue?

2 answers

1 accepted

2 votes
Answer accepted
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 4, 2021

Hello Connor!

Thanks for reaching out about getting your Jira notifications within a private Slack channel. There is a similar post related to this which may be found at How can I configure JIRA Slack integration to use private Slack channels for notification? 

The short answer to the resolution is to invite the Jira bot into your private channel to allow access.

Additional resources for this are:

Regards,
Stephen Sifers

Connor Skiro
Contributor
June 4, 2021

Stephen, 

 

Thank you so much for pointing me to this post, I appreciate the help!

 

Best, 

Connor

Like Stephen Sifers likes this
Nofar Ben Kereth
Contributor
December 9, 2021

This is a solution for connecting a project to a private Slack channel, should this solve the Automation rule issue as well? because that way I will need to connect all projects one by one (automations works on all projects for me)

Lucie Mlčáková
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!
December 27, 2021

Hi! I have the same issue with sending messages via Automation for Jira to a private Slack channel, it simply doesn't work. It only accepts member ID or public slack channel name with # pre-fix.  Any idea how to add private slack ID? @Stephen Sifers 

Like Nofar Ben Kereth likes this
Nofar Ben Kereth
Contributor
December 27, 2021

@Lucie Mlčáková I just ran into this problem and got on a call with Atlassian. The problem is on the webhook side in Slack. Private channel requires a dedicated webhook url to the specific channel. The solved my problem. Note that Slack admin should be in the channel while generating this URL, but they can leave the channel after. 

kristine.daniels
Contributor
March 17, 2023

Thanks for this post.  Creating a dedicated webhook got me further.  I found that if I had the channel name specified, it caused the same error.  The key is having a dedicated webhook URL and no channel name specified.

Connor Skiro
Contributor
March 20, 2023

Yeah, a dedicated webhook url has allowed me to post to a private channel as well. Although, I do have a specific private slack channel specified and it has been posting when PRs have been submitted for review for a couple months now. 

0 votes
Rafael Matos
Contributor
June 4, 2024

For me only worked with a dedicated webhook url and without set the channel on the jira automation. 

Suggest an answer

Log in or Sign up to answer