Edgewall Software

Opened 6 years ago

Last modified 4 weeks 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@…
Release Notes:
API 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@…> 6 years ago.

Download all attachments as: .zip

Change History (19)

Changed 6 years ago by Ryan Ollos <ryano@…>

comment:1 Changed 6 years ago by Ryan Ollos <ryano@…>

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

comment:2 Changed 6 years ago by Sebastian Krysmanski <sebastian@…>

  • Cc sebastian@… added

comment:3 Changed 6 years ago by jevans

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 Changed 6 years ago by Christian Boos

  • Component changed from ticket system to notification
  • Keywords minoredit added
  • Milestone set to 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 Changed 5 years ago by Christian Boos

#5332 was closed as a duplicate of this ticket.

comment:6 Changed 4 years ago by keshav.kini@…

  • Cc keshav.kini@… added

comment:7 Changed 4 years ago by bebugz@…

  • Cc bebugz@… added

comment:8 Changed 4 years ago by bebugz@…

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 Changed 3 years ago by anonymous

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

comment:10 Changed 3 years ago by fbrettschneider@…

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 Changed 3 years ago by psuter

#10405 was closed as a duplicate.

comment:12 Changed 16 months ago by Ryan J Ollos

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

comment:13 Changed 12 months ago by Ryan J Ollos

  • Keywords notification added; minoredit removed

comment:14 Changed 11 months ago by psuter

#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 Changed 11 months ago by Sebastian Krysmanski <sebastian@…>

  • Cc sebastian@… removed

comment:16 Changed 7 months ago by Ryan J Ollos

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

Last edited 7 months ago by Ryan J Ollos (previous) (diff)

comment:17 Changed 6 months ago by Ryan J Ollos

  • Owner Emmanuel Blot deleted

comment:18 Changed 4 weeks ago by Stoyan Ivanov <tonibony@…>

  • 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. Next status will be 'new'.
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.