No Jira notifications are sent on custom workflow transitions
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
問題
When a custom workflow is being used, no email notifications are generated by Jira when custom workflow transitions are executed. Jira outgoing messages log does not contain any entries for attempts to send those email notifications out.
診断
メール通知はイベント サブシステムでトリガーされますが、これは個々のワークフロー トランジションの事後操作内 (通常は最後のステップ) で構成されます。Jira のイベントにはさまざまな種類があり、これによってメール テンプレートの送信有無と、その種類が決まります。
原因
Custom workflows by default have a Generic Event configured in workflow transitions (via their Post Functions configuration). If the Generic Event event is not configured in the Notification Scheme configuration to send out notifications, then no user will receive a notification when the transition is executed.
ソリューション
2 possible resolutions
- Update the Notification Scheme configuration in the project to send out notification from the event Generic Event
- Or change the event fired by the workflow post-functions to an event which is already configured to send notifications as per the Notification Scheme configuration in the project (for example, the Issue Updated event)