Integrate an Automation rule with Slack

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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.


Steps to follow

  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.

    Update the webhook URL
  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)

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

    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:

        Pasting webhook ULR
    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 Webhook URL dropdown menu and select the secret key created earlier:

        Select the secret key created

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 it to a specific user with @slackmemberID.

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

Member ID in slack

Updated on June 7, 2024

Still need help?

The Atlassian Community is here for you.