Control when notifications are sent to the reporter of a ticket

Description

This plugin controls the notification to the reporter. It allows reporter to be notified only for certain configurable states. By default Trac provides only two options either always notify reporter or never notify reporter. These two extremes are not always useful.

I created this Hack to suit our requirement. In our case we didn't want to send out notification emails to reporters for every change,we just wanted them to be notified when they create a new ticket,when the ticket is closed and when the ticket is reopened.

It is a simple extension of Trac's notification module.

I am publishing this because I feel that if we needed this someone else also might need it.

Bugs/Feature Requests

Existing bugs and feature requests for FlexibleReporterNotificationPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out FlexibleReporterNotificationPlugin from here using Subversion, or browse the source with Trac.

Example

Install the plugin in the plugins directory of your Trac implementation.

Edit the trac.ini file by adding the following line:

[notification]
always_notify_reporter = true
reporter_states = new,closed,reopened

The line above specifies the states in which reporter should be notified. In the above example the reporter will be notified only when the ticket is in one of the [new,closed or reopened] states.

Note:

  1. always_notify_reporter should be set to true else no notification will be sent to reporter.
  2. Do not leave reporter_states blank.

Recent Changes

[11964] by rjollos on 09/10/12 09:15:17

Fixes #3871, #4149, #4639:

  • Removed empty 0.10 directory.
  • Converted tabs to spaces.
  • Fixed syntax error in setup.py.

The plugin still does not seem to be working. Please following #7554 and #8821 for progress towards getting this plugin working with Trac 0.11 through 1.0.

[4273] by CStrac on 09/12/08 12:10:57

[4272] by CStrac on 09/12/08 11:35:39

New hack FlexibleReporterNotificationPlugin, created by CStrac

Author/Contributors

Author: CStrac
Maintainer: none
Contributors: