Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

#9977 closed enhancement (duplicate)

[PATCH] New feature: Notify to reporter only when closing a ticket

Reported by: mviera@… Owned by:
Priority: normal Milestone:
Component: ticket system Version: 0.12.1
Severity: normal Keywords: notification, reporter notification, close, patch
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Hello,

Today I've had a requirement of a functionality in Trac consisting in notifying to the reporter only when closing a ticket.

I looked for it in Trac documentation but I couldn't find it, I think it doesn't exists. Also, I looked for some solution through the internet such a Trac plugin or something similar, without success.

At this moment, I decided to develop this new functionality in Trac. At present, we can notify to reporter all comments or not, but we can't notify only when closing a ticket.

I attach the patch because I think this functionality would be useful for more people. Activate this new feature is very easy, it consists on adding always_notify_close_reporter as true into trac.ini.

[notification]
always_notify_close_reporter = true

I don't know if always_notify_close_reporter is a good name for this option, so feel free to change it if you find a better one.

I will be very happy if this functionality is included in Trac :-)

Thanks in advance.

Attachments (2)

trac-notify-close-reporter.diff (1.6 KB ) - added by mviera@… 13 years ago.
Patch for adding a new option in trac.ini called 'always_notify_close_reporter' allowing notifying to the reporter only when closing tickets.
trac-notify-close-reporter.2.diff (1.6 KB ) - added by mviera@… 13 years ago.
Enhanced documentation about the new option.

Download all attachments as: .zip

Change History (4)

by mviera@…, 13 years ago

Patch for adding a new option in trac.ini called 'always_notify_close_reporter' allowing notifying to the reporter only when closing tickets.

comment:1 by Thijs Triemstra, 13 years ago

Keywords: patch added
Summary: New feature: Notify to reporter only when closing a ticket[PATCH] New feature: Notify to reporter only when closing a ticket

by mviera@…, 13 years ago

Enhanced documentation about the new option.

comment:2 by Christian Boos, 13 years ago

Resolution: duplicate
Status: newclosed

What about also adding support for always_notify_close_reporter_except_when_reporter_closed_the_ticket? :P)

We should really make this extensible somehow, see #6217 and related.

I'm afraid that at this point, adding one more configuration setting to the already quite crowded TracIni#notification-section is not going to help…

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) 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.