Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,848
Community Members
 
Community Events
168
Community Groups

Trying to send an automated message to a Slack Private Channel from Jira Server

Edited

I'm configuring Jira Automation to send a Slack Message to a Private Channel. I found an article that says you need to invite "@Jira" to the private slack channel, but then discovered this is for integrating Slack with Jira Cloud. We are still on server.

This article mentions you can send messages to private channels, but lacks the details that I need.
https://confluence.atlassian.com/automation/use-automation-with-slack-993924688.html

I've been able to send the messages to a public channel and an individual, but I keep getting "Channel Not Found" errors when I use the private channel.

1 answer

Yes, this is what I am doing, but I'm unable to get it to work with a private channel. I'll update my description to make it more clear.

Hum I just tryed with slack free tier and it works with a private slack channel.

 

What is the response in the audit log of the automation rule ?

Did you let Channel or user empty as the info is provided in the webhook url you configured as integration on slack side.

 

Regards

Like Stefan Salzl likes this

The error I'm getting in the error log is: 

Error from Slack [404]: channel_not_found

If I change it to a public channel, it works. So, I assumed it's a problem with the private channel.

I'm not sure what the last question means?

Did you let "channel or user" empty or did you set the name of your channel in it?

Someone else set up the webhook for me as I don't have that permission in Slack. I can follow up with them. But, again, it worked with a test channel (public) and it works when sending directly to a user. I just get the error when sending it to a private channel.

Suggest an answer

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

An update on Jira Software customer feedback – June 2022

Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...

4,963 views 18 31
Read article

Atlassian Community Events