[%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is the Bugzilla Bug Tracking System. # # The Initial Developer of the Original Code is Netscape Communications # Corporation. Portions created by Netscape are # Copyright (C) 1998 Netscape Communications Corporation. All # Rights Reserved. # # Contributor(s): Gervase Markham # Myk Melez # Shane H. W. Travis #%] [%# 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 %]