Integrate an Automation rule with Slack

Still need help?

The Atlassian Community is here for you.

Ask the community

robotsnoindex

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

If you want to send a message to a Slack channel, you first need to integrate Slack and Automation for Jira Server. This provides a webhook URL that Automation for Jira can use to send messages to your private Slack channels. This integration can be revoked at any time. Check out the awesome blog post on 2022-06-21_07-52-15_How to use Slack Messages with Automation for Jira.

  1. Navigate to incoming webhooks in your Slack account or from the Send Slack Message action in Automation for Jira, select the link to configure an incoming webhook in your Slack account. 


  2. Choose a channel to post messages to (or create a new one) and select Add Incoming WebHooks Integration (you can change this channel at any time from within Slack or from the Send Slack Message action)

  3. From Integration Settings in Slack, copy the webhook URL 


  4. The next steps will depend on the Automation For Jira version that you are using
    1. For Automation For Jira on any version below 9.0.0
      1. Paste the webhook URL in the Send Slack Message action:

    2. For Automation For Jira on any version from 9.0.0
      1. Create a new Secret Key by following the instructions from this documentation and using the Webhook URL obtained from Slack
      2. Go to the Send Slack Message action in the Automation rule
      3. Click on the Wehbook URL dropdown menu and select the secret key created earlier:


         

Messages are sent to the default channel specified in your webhook, but you can override this by specifying another channel using the #channelname, or send to a specific user with @slackmemberID.

Member IDs can be found in a user's profile inside Slack:


Last modified on May 30, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.