Configure a custom event notification for a Jira server workflow transition or status

お困りですか?

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

コミュニティに質問

プラットフォームについて: Server と Data Center のみ - この記事は、サーバーおよびデータセンター プラットフォームのアトラシアン製品にのみ適用されます。

問題

Adding a custom event so that it triggers for a specific workflow transition. Include this custom event in the notification scheme so that a notification will be sent out when the custom event is triggered in the transition's post function.

シナリオ

In a project planning process, a proposed idea will need to be reviewed by the project manager. The project manager then decides whether to finalize the planning or if it still needs to be revised. In this case, every time the task is transitioned to the "Revising" status, an email will have to be sent out to notify the project manager group.

ソリューション

Create the custom event

  1. Log in as a user with JIRA Administrator permission.
  2. Click > System, find Events under the category Advanced at the left.
  3. Add the Name and Description for the custom event at the Add New Event form at the bottom of the page.

  4. For Template field, select the available default email template for the event created.
  5. The click Add.


Include the Custom Event in Notification Scheme

  1. You will still need JIRA Administrator permission to configure the Notification Scheme.
  2. Click > Issues, find Notifications Schemes at the left.
  3. Click at the notification scheme's name that you would like to edit.
  4. You will find the custom event Revising created just now in the notification scheme.

  5. Click Add to add the project manager group for the custom event Revising.

Now add the custom event to workflow transition's post function

  1. Click > Issues, find Workflows under the Workflows category at the left.
  2. Click the Edit link for the workflow you need to configure.
  3. Select the Revise transition then select Post Functions in the dialog at the right.

  4. Hover over the post function "Fire a Generic Event event that can be processed by the listeners." then click the pencil icon to edit the post function. Change the Generic Event to Revising Event then Update, then publish the workflow.

説明

Adding a custom event so that it triggers for a specific workflow transition. Include this custom field in the notification scheme so that a notification will be sent out when the custom event is triggered in the transition's post function.

製品Jira
プラットフォームサーバー
最終更新日 2019 年 9 月 25 日

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

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