[%# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # This Source Code Form is "Incompatible With Secondary Licenses", as # defined by the Mozilla Public License, v. 2.0. #%] [%# INTERFACE: # watchedusers: string. # Comma-separated list of email addresses this user watches. # watchers: array. # Array of users watching this user's account. # excludeself: boolean. # True if user is not receiving self-generated mail. # : Multiple hashes, one for each rolename (e.g. assignee; see # below), keyed by reasonname (e.g. comments; again, see # below). The value is a boolean - true if the user is # receiving mail for that reason when in that role. #%]

If you don't like getting a notification for "trivial" changes to [% terms.bugs %], you can use the settings below to filter some or all notifications.


[% IF user.is_global_watcher %] [% END %]
Global options:
[% prefname = "email-$constants.REL_ANY-$constants.EVT_FLAG_REQUESTED" %]
[% prefname = "email-$constants.REL_ANY-$constants.EVT_REQUESTED_FLAG" %]
You are watching all [% terms.bugs %]. To be removed from this role, contact [% Param("maintainer") %].

Field/recipient specific options:

[% events = [ { id = constants.EVT_ADDED_REMOVED, description = "I'm added to or removed from this capacity" }, { id = constants.EVT_BUG_CREATED, description = "A new $terms.bug is created" }, { id = constants.EVT_OPENED_CLOSED, description = "The $terms.bug is resolved or reopened" }, { id = constants.EVT_PROJ_MANAGEMENT, description = "The priority, status, severity, or milestone changes" }, { id = constants.EVT_COMMENT, description = "New comments are added" }, { id = constants.EVT_ATTACHMENT, description = "New attachments are added" }, { id = constants.EVT_ATTACHMENT_DATA, description = "Some attachment data changes" }, { id = constants.EVT_KEYWORD, description = "The keywords field changes" }, { id = constants.EVT_CC, description = "The CC field changes" }, { id = constants.EVT_DEPEND_BLOCK, description = "The dependency tree changes" }, { id = constants.EVT_OTHER, description = "Any field not mentioned above changes" }, ] %] [% neg_events = [ { id = constants.EVT_UNCONFIRMED, description = "The $terms.bug is in the UNCONFIRMED state" }, { id = constants.EVT_CHANGED_BY_ME, description = "The change was made by me" }, ] %] [% relationships = [ { id = constants.REL_ASSIGNEE, description = "Assignee" }, { id = constants.REL_REPORTER, description = "Reporter" }, { id = constants.REL_CC, description = "CCed" }, ] %] [% IF Param('useqacontact') %] [% relationships.push({ id = constants.REL_QA, description = "QA Contact" }) %] [% END %] [%# This is up here so that the "relationships" hook can modify it. %] [% no_added_removed = [constants.REL_REPORTER] %] [% Hook.process('relationships') %] [% num_columns = relationships.size %] [% FOREACH relationship = relationships %] [% END %] [% FOREACH event = events %] [% count = loop.count() %] [% FOREACH relationship = relationships %] [% END %] [% END %] [% FOREACH event = neg_events %] [% count = loop.count() %] [% FOREACH relationship = relationships %] [% END %] [% END %]
When my relationship to this [% terms.bug %] is: I want to receive mail when:
[% relationship.description FILTER html %]
[% event.description FILTER html %]
  but not when (overrides above):
[% event.description FILTER html %]

User Watching

If you watch a user, it is as if you are standing in their shoes for the purposes of getting email. Email is sent or not according to your preferences for their relationship to the [% terms.bug %] (e.g. Assignee).

[% IF watchedusers.size %] You are watching everyone in the following list:


[% ELSE %] You are currently not watching any users. [% END %]

Add users to my watch list (comma separated list): [% INCLUDE global/userselect.html.tmpl id => "new_watchedusers" name => "new_watchedusers" value => "" size => 60 multiple => 5 %]

Users watching you:
[% IF watchers.size %] [% FOREACH watcher = watchers %] [% watcher FILTER html %]
[% END %] [% ELSE %] No one [% END %]