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.
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:
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
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 !
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.