Documentation for JIRA 4.2. Documentation for other versions of JIRA is available too.

このページの内容

About Email Notifications

JIRA can generate email notifications for various events that happen during the issue lifecycle. Notifications are defined within a notification scheme (see below), which associates particular events with particular email recipients. The notification scheme is then assigned to a particular project; note that you can use the same notification scheme for more than one project.

The events which can generate email notifications are:

イベント

説明

Issue Created:

課題がプロジェクトに作られました。

Issue Updated:

課題の詳細が変更されました。これには課題コメントの削除が含まれます。

Issue Assigned:

課題が新しいユーザに割り当てられました。

Issue Resolved:

課題が解決されました(通常、取り組みと修正が終わった後)。

Issue Closed:

An issue has been closed. (Note that an issue may be closed without being resolved; see Statuses).

Issue Commented:

課題にコメントが追加されました。

Issue Comment Edited:

課題のコメントが編集されました。

Issue Reopened:

課題が再開されました。

Issue Deleted:

課題が削除されました。

Issue Moved:

課題がこのプロジェクトに移動されました。

Work Logged On Issue:

課題にログインした時間がありました(すなわち作業ログが追加されました)。

Work Started On Issue:

担当者が課題で作業を開始しました。

Work Stopped On Issue:

担当者が課題で作業を停止しました。

Issue Worklog Updated:

課題の作業ログのエントリが編集されました。

Issue Worklog Deleted:

課題の作業ログのエントリが削除されました。

Generic Event:

The exact nature of this event depends on the workflow transition(s) from it was fired.

Custom Event(s):

The exact nature of these events depends on the workflow transition(s) from which they were fired.

(info) JIRA does not have a specific notification event for the deletion of issue comments. When an issue's comment is deleted, JIRA sends out an email notification as an 'Issue Updated' event.
(info) If multiple events occur at the same, then multiple emails will be sent. For example, if you edit an issue and change the "Assignee" field, and add a comment, all of "Issue Updated", "Issue Assigned" and "Issue Commented" are fired.

Note that email notifications will only be sent to people who have permission to view the relevant issue — that is, people who:

Also note that JIRA can only send email notifications if SMTP email has been enabled (see Email Overview).

JIRA will send notification emails to both the previous assignee and the current assignee, whenever the assignee field changes.
However past versions of JIRA only sent a notification email to the previous assignee IF the operation that changed the event was the "Assign Issue" operation. It did not send a notification if the issue was edited in some other way.
The "jira.assignee.change.is.sent.to.both.parties" application property allows the old behavior to be re-instated, for those customers who liked the old behavior.

See http://jira.atlassian.com/browse/JRA-6344 for more details

通知スキームの作成

  1. Log in as a user with the 'JIRA Administrators' global permission.
  2. Bring up the administration page by clicking either the 'Administration' link on the top bar or the title of the Administration box on the dashboard.
  3. On the panel on the left, under the title 'Schemes, click the link labelled 'Notification Schemes'.
  4. This will display the 'Notification Schemes' page. This page lists all of the notification schemes that JIRA currently has. Click the 'Add Notification Scheme' link.
  5. In the 'Add Notification Scheme' form, enter a name for the notification scheme, and a short description of the scheme. Click the 'Add' button.
  6. You are then shown the 'Edit Notifications' page. This page lists all of the above mentioned issue life cycle events, along with whom should be notified. It is currently empty.
  7. Click the 'Add' link in the appropriate life cycle event row.
  8. This will display the 'Add New Notification' page. Here you can choose who to notify, from the list of alternatives.

    Where:
    • Current Assignee is the user assigned to the issue.
    • Current Reporter is the user who originally created the issue
    • Current User is the user who performed the action triggering the event in question.
    • Single Email Address is any email address that you wish to alert.

      A Single Email Address notification will only be sent if the issue is publicly viewable (as the email address of a non-JIRA user could be specified, in which case a security check is not possible). Publicly viewable issues are issues which have a Permission scheme that gives the 'Browse Projects' permission to 'Anyone' (any non-logged-in users).

    • User Custom Field Value is any custom field value of type User Picker or Multi User Picker that may have been associated with issues. An example of where this can be useful, you have a custom User field called Tester, you have the tester notified when an issue is resolved.
    • (the rest are hopefully self-evident) Note that project roles are useful for defining specific team members for each project. Referencing project roles (rather than groups) in your notifications can help you minimise the number of notification schemes in your system.
  9. After selecting the appropriate option, and filling in any required information for that option, click the 'Add' button.
  10. You will be taken back to the 'Edit Notifications' page, with the notification you just specified now listed against the appropriate issue life cycle event.
  11. Repeat steps 7 through 11 until you have specified all the notifications you want to happen.
  12. If you make a mistake, or you would like to remove who is being notified, simply do so by clicking the 'delete' link beside the person/group/role.

Assigning a Notification Scheme to a Project

  1. Log in as a user with the 'JIRA Administrators' global permission.
  2. Bring up the administration page by clicking either the 'Administration' link on the top bar or the title of the Administration box on the dashboard.
  3. A list of projects is displayed
  4. Select the project you want by clicking on the project name. This will display the project details
  5. Click the 'Select' link beside the Notification Scheme caption.
  6. This will bring up a list of notification schemes. Select the notification scheme that you want to associate with this project.
  7. Click the 'Associate' button to associate the project with the notification scheme.