How to configure Slack notifications for issues moved between projects

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問




[Unable to render {include} The included page could not be found. ({include} をレンダリングできません。ページが見つかりませんでした)] を選択し、



目的

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.

ソリューション

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.

最終更新日 2021 年 5 月 7 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.