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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,462,288
Community Members
 
Community Events
176
Community Groups

Creating a scheduled notification from Jira to Slack App

 

This article explains how to create a Slack App to integrate with Jira that will enable you to post messages on your Slack Workspace. After a Slack App is enabled, we use Automation for Jira to publish messages from Jira to Slack.

 

** The method explained here replaces the legacy custom integration using Incoming Webhooks **

 

Create a Slack app and configure Incoming Webhooks

 

  1. Open and authenticate to your Slack Workspace in your browser

  2. Navigate to Your Apps Slack page and select Create an App
    Define a name, choose a workspace to associate your app with, and then click Create App.
    1.png

  3. Enable Incoming Webhooks

    After creating, navigate to the settings page for your new app (if you are using an existing app, just load its settings via your app's management dashboard) and select the Incoming Webhooks feature, and click the Activate Incoming Webhooks toggle to switch it on.

    2.png

  4. Create an Incoming Webhook

    Now that Incoming Webhooks are enabled, the settings page should refresh and some extra options will appear. One of those options will be a really helpful button marked Add New Webhook to Workspace, and you should click it to see the following screen:

    3.png

    Select a channel that the app will post to, and then click to Authorize your app.

  5. Reserve the endpoint of your webhook

    You'll be sent back to your app settings, and you should now see a new entry under the Webhook URLs for Your Workspace section, with a Webhook URL that'll look something like this:

https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX

 

Create an automation rule in Jira to trigger the Incoming Webhooks on your Slack app

  1. Logged as a Jira Administrator navigate to https://yoursite.atlassian.net/jira/settings/automation#/ and select Create Rule

  2. Define the rule Trigger
    Define the rule as scheduled and input the frequency (Ex. weekly ). Also, check the options Run a JQL search and execute actions for each issue in the query and Only include issues that have changed since the last time this rule was executed. Finally, input the JQL with the criteria to select the issues and click save.
    4.png

    project in ("Project 1", "Project 2", "Project 3") and status = Deployed and updated >= startOfDay(-7)



  3. Finally, Add a New Action and define it as Send Slack message
    Inform the Webhook URL configured in your Slack App, the Slack Channel, and inform the message you would like to publish. Keep the Sender as Automation user and save

    5.png

  4. When your rule is executed one message will be posted on the selected Slack Channel with a list of issues that matched the criteria of the JQL

     

6.png

2 comments

Mikael Sandberg Community Leader Jan 14, 2022

Great article @Alex! Looks like some of your screenshots are missing/in the wrong place.  

Like Alex likes this
Alex Rising Star Jan 14, 2022

Hey, @Mikael Sandberg thanks for commenting and pointing that out! 

Like Mikael Sandberg likes this

Comment

Log in or Sign up to comment
TAGS

Atlassian Community Events