Edgewall Software
Modify

Opened 18 years ago

Closed 16 years ago

#5581 closed enhancement (worksforme)

Default CC Value

Reported by: quintin@… Owned by: Emmanuel Blot
Priority: low Milestone:
Component: notification Version: 0.10.3.1
Severity: trivial Keywords: default cc
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

In our projects we have some people that are notified of most (+-97%) of tickets/changes.

I made a patch that basically adds a "default_cc" field to the project configuration file.

This allows us to have the CC field filled in with their details, but just in case it is in the 3% of cases, we can remove it. Much more time saving than doing it the other way around.

I also attached two patches, one for the source file (tickets/api.py) and one for the config file.

Attachments (2)

default_cc.patch (859 bytes ) - added by quintin@… 18 years ago.
Patch for ticket/api.py
default_cc_config.patch (301 bytes ) - added by quintin@… 18 years ago.
Patch for trac.ini

Download all attachments as: .zip

Change History (7)

by quintin@…, 18 years ago

Attachment: default_cc.patch added

Patch for ticket/api.py

by quintin@…, 18 years ago

Attachment: default_cc_config.patch added

Patch for trac.ini

comment:1 by Johans Marvin Taboada Villca <jmt4b04d4v@…>, 18 years ago

Wouldn't you use smtp_always_cc and smtp_always_bcc (take a look here) instead?:

#trac.ini
[notification]
...
smtp_always_bcc = ...
...
smtp_always_cc = ...
...

It's implementation it's already done.

comment:2 by quintin@…, 17 years ago

Component: ticket systemwiki
Owner: changed from Jonas Borgström to Christian Boos

Yes. I did look at that.

The reason I was thinking of a default, was because in certain very rare occasions (about 3%) we don't send it to certain people. I these cases we can just remove the e-mail address.

It's just another feature that we are definitely going to use.

The idea behind this is that we have a few managers where all of us are notified of all tasks/bugs. In some rare situations when a certain manager has nothing to do with a certain component, that manager doesn't need to be on the CC list for that specific ticket. It is much easier to remove 1-3 names 3% of the time than to add 4 97% of the time.

comment:3 by Emmanuel Blot, 17 years ago

Component: wikinotification
Milestone: 0.11
Owner: changed from Christian Boos to Emmanuel Blot

Definitely not for 0.11.

We also need to discuss how far is going to go the notification subsystem, as there are many propositions out there, many of them being for quite specific/custom uses.
A notification API to extand the notification features through plugins would be a better option than this ever growing list of enhancements.

comment:4 by sid, 17 years ago

I think the smtp_always_cc and smtp_always_bcc handle this in 99% of use cases. -1 for merging the special-case patch. This is one that should be in a plugin. Propose closing as a wontfix.

comment:5 by osimons, 16 years ago

Resolution: worksforme
Status: newclosed

Actually, default_cc setting has been working for some time due to how ticket defaults gets populated, and it got documented as part of #7280. There should now be plenty of options to solve what you need.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Emmanuel Blot.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Emmanuel Blot to the specified user.

Add Comment


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