How to configure Slack notifications for issues moved between projects

Still need help?

The Atlassian Community is here for you.

Ask the community




Unable to render {include} The included page could not be found.



Purpose

Atlassian Slack Integration for Jira only supports a limited number of events that can be used as a trigger for notifications: "Issue created", "Assignee updated", "Issue commented" and "Issue transitioned". However, very often issues are being moved between projects, and for such scenario there is no event in the Slack integration that could be used to configure notifications for.

Solution

There is a known feature request available to add "Issue moved" event to the official Slack integration plugin:  API-182 - Getting issue details... STATUS

If Automation for Jira is available in the same environment, the following workaround can be used to receive notifications for such events:

  1. Create a new automation rule in Automation for Jira.
  2. Set event for the rule to "Issue moved", and specify projects as needed.
  3. Set action for the rule to "Publish event" → Issue Created.
  4. Make sure you have enabled the option "Publish newer style 'IssueEventBundle'".
  5. Save and turn on the rule.

Please note that the rule will raise "Issue created" event every time it is executed, so if you have any global listeners for this type of event, they will be executed. This is exactly what makes Slack integration being able to recognize such events and send notifications to configured channels.

Last modified on May 7, 2021

Was this helpful?

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