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.
×I want to send a message to my Slack channel when an issue is created. How do I set this up with Automation for JIRA?
One of the available rule components is the "Send Slack message" action:
Project automation - Code Barrel JIRA 2016-09-20 11-49-58.png
For this to work you first have to setup an incoming web-hook in your slack account. You can do this by visiting:
https://my.slack.com/services/new/incoming-webhook/
This will provide you with a URL of the form:
https://hooks.slack.com/services/SSSHHSECRETTOKEN
Back in JIRA you can paste this URL and then add your message. The message can also include links using Slacks defined format for this. When you define the webhook, you also set a default channel, but if you want to override this you can do so with the optional "Channel or user" field.
Similarly, but not directly related, it would be great to be able to create richly-formatted messages so they stand out when they appear in the channel, much like an empty attachment fallback message. Right now, it is just like a message from a user named Automation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there a way to change the Slack bot Name and Icon? The addon seems to override what i set on Slack.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Philippe,
Yes that's not possible currently - sorry. I've raised https://codebarrel.atlassian.net/browse/AUT-121 to track this for now. Hopefully we'll be able to implement this soon.
Cheers,
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I second this requset to be able to have our Slack settings for the webhook be recognized. I am using this in a situation that has unique icons and names for a couple webhooks that each represent different results/messages, and right now they all look the same, just the message is slightly different, which makes it difficult to parse in the channel.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We have released a setting (server & cloud) that allows the use of the bot name as configured in slack.
To use your customised bot name & icon, uncheck this option.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Scott Harwood do you mind to implement the whole "attachements" behavior? (cf. https://api.slack.com/docs/messages/builder)
By the way this is not really a problem since I'm not able to set it from the dedicated Slack action, but I can from the "Send webhook" node.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.