Notification/Automation

Michelle Lambert
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 4, 2025

Hi All, I am trying to setup an automation to send to Slack from Jira.  Instead of receiving the email updates from Jira when an issue has been updated, we would like to see the updates for the issue in Slack.  I have made great strides, but still not getting what we want from the automation.  Below is where I am at with this request.  The request runs, but it brings back 100 records and only links to issues.  We only want to see when a Jira issue has been updated.  The same details we would see in the automated Jira email.  For example, the Jira issue key, the assignee who made the update, the last comment added to the issue, the date, time of the update, and the URL so that we can click on the URL of the issue to go directly into Jira from Slack.  Any guidance you can provide would be greatly appreciated.

 

JiraSlackAutomation.jpg

 

2 answers

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 4, 2025

Hi @Michelle Lambert -- Welcome to the Atlassian Community!

The rule you show uses the Scheduled Trigger and a Lookup Issues action with what appears to be invalid JQL, and you note sending Slack messages "when a Jira issue has been updated."

 

First, if you indeed want to send the messages when the issue is updated, you will need several rules using different triggers rather than the Scheduled one.  These include at least:

  • issue created
  • issue updated
  • issue transitioned
  • issue linked
  • issue commented
  • ...

That would send the messages, one-by-one as issues are updated.  Is that what you wanted, or to instead send a periodic / scheduled summary (e.g., "all these issues changed today")?

 

Next, it is not possible to exactly match the email Jira sends for notifications.  The reason is some of the rule's access to changelog information will not show the same format (or details) which Jira notifications are getting from their custom-code.  An alternative (using the triggers mentioned above) is to send a message such as "Issue ABC-123 was updated" with a hyperlink to open the issue.

 

Finally, notifications are configurable both at a site and an individual user's level.  Would you see these messages going to a shared, Slack channel (which will likely become quite noisy), individual messages sent to specific people, or both?  Sending to a channel is easy; sending to an individual by-mention will require storing their Slack user ID values somewhere in Jira (such as with entity properties) to reference by user.

 

Kind regards,
Bill

0 votes
Scott Schellhardt
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 4, 2025

Hi Michelle,

Welcome to the Atlassian Community! Can you provide some additional context to this request ? I have something similar running in my instance that may be able to get you headed in the right direction !

Screenshot 2025-02-04 at 4.44.19 PM.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events