Edgewall Software

Opened 15 years ago

Last modified 9 years ago

#8607 new enhancement

Option to skip notification to subscribers when a ticket is updated

Reported by: Ryan J Ollos Owned by:
Priority: normal Milestone: next-major-releases
Component: notification Version: 0.11.5
Severity: normal Keywords: notification
Cc: keshav.kini@…, bebugz@…, tonibony@… Branch:
Release Notes:
API Changes:
Internal Changes:


Consider the following scenarios for editing a ticket:

  1. Changing a minor typo in the ticket Description
  2. Adding some entries to the Keywords field
  3. Changing the Milestone, Component, Type, etc …
  4. Adding an attachment, when the attachment was mentioned in the previous message, therefore all users can expect it will be posted to the ticket within minutes and don't need to see another email telling them an attachment was added.

Users on my team receive a lot of email from Trac each day, and it is frustrating and Trac becomes less effective when they receive email notifications when someone is just cleaning up or making some minor changes to a ticket.

Rather than setting up a lot of options in trac.ini that determine who and when a subscriber is notified of changes, I propose that a checkbox is added to the right of Submit Changes. When the Don't Notify Subscribers checkbox is selected, notifications emails are not sent on a ticket update.

The question then arises, what permission should be required for this checkbox to be present. Perhaps someone running a Trac instance does not want users to be able to change a ticket without, for instance, the ticket's owner receiving a notification. I propose two options for the [notification] section of trac.ini.

  1. optional_notify_authenticated = {true, false}
  2. optional_notify_anonymous = {true, false}

Option 1 would show/hide the Don't Notify Subscribers checkbox for authenticated users. Option 2 would show/hide the Don't Notify Subscribers checkbox for anonymous users. Users with TICKET_ADMIN permission would always see the checkbox.

Attachments (1)

SubmitChangesButton.png (3.8 KB ) - added by Ryan Ollos <ryano@…> 15 years ago.

Download all attachments as: .zip

Change History (19)

by Ryan Ollos <ryano@…>, 15 years ago

Attachment: SubmitChangesButton.png added

comment:1 by Ryan Ollos <ryano@…>, 15 years ago

Request-A-Hack on Track-Hacks.org: #5495.

comment:2 by Sebastian Krysmanski <sebastian@…>, 15 years ago

Cc: sebastian@… added

comment:3 by jevans, 15 years ago

Alternatively perhaps add TICKET_CLEANUP and WIKI_CLEANUP permissions (or some such) to control access to the option. Personally I'd only allow it for minor text edits - I'd want notification of property changes. But yes, there have been times I haven't made minor corrections to avoid sending notification. Sounds like a great hack.

comment:4 by Christian Boos, 14 years ago

Component: ticket systemnotification
Keywords: minoredit added
Milestone: next-major-0.1X
Owner: set to Emmanuel Blot

Sounds interesting, and in line with the discussion in #7758.

But if I may, we are more in need of an active maintainer for the notification subsystem than yet another tweak ;-)

comment:5 by Christian Boos, 14 years ago

#5332 was closed as a duplicate of this ticket.

comment:6 by keshav.kini@…, 13 years ago

Cc: keshav.kini@… added

comment:7 by bebugz@…, 13 years ago

Cc: bebugz@… added

comment:8 by bebugz@…, 13 years ago

For these impatient like me wouldn't that be a quick-n-dirty solution to make custom boolean field on ticket (trac.ini) and hardcode/patch the notification to analyse of this field to completely off the notification. As the proposal prior to proper longterm solution.

comment:9 by anonymous, 12 years ago

th:QuietPlugin is what I've been using to satisfy this need.

comment:10 by fbrettschneider@…, 12 years ago

See also #10574 that also addresses the problem of ticket statistics comment overhead, and suggests to split into 2 ticket comment types where only the usercomment-releated stuff is posted as notification.

comment:11 by Peter Suter, 12 years ago

#10405 was closed as a duplicate.

comment:12 by Ryan J Ollos, 10 years ago

Reporter: changed from Ryan Ollos <ryano@…> to Ryan J Ollos

comment:13 by Ryan J Ollos, 9 years ago

Keywords: notification added; minoredit removed

comment:14 by Peter Suter, 9 years ago

#11535 was closed as a partial duplicate / wontfix.

Integrating QuietPlugin functionality was suggested, or even a subscriber that allows configuring rules like Never Notify: Updater was in quiet mode in the notification user preferences.

comment:15 by Sebastian Krysmanski <sebastian@…>, 9 years ago

Cc: sebastian@… removed

comment:16 by Ryan J Ollos, 9 years ago

#12067 was closed as a duplicate, requesting the ability to disable notifications from batch ticket modification.

Last edited 9 years ago by Ryan J Ollos (previous) (diff)

comment:17 by Ryan J Ollos, 9 years ago

Owner: Emmanuel Blot removed

comment:18 by Stoyan Ivanov <tonibony@…>, 9 years ago

Cc: tonibony@… added

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.