#37

Non-public notification system needed

Status: Fixed
Priority: Idea
Milestone: 1.1
Component: Ticketing
 
Dimitrij Denissenko
Assigned To:

Dec 27 2006 * 02:53
steven a bristol

Although the rss feed is really cool, there should be some sort of notification system for tickets and chagesets that are not public. I am thinking an email subscription system. If you like this idea, let me know an I will write it.

Thanks, steve

Comments and Changes

Dec 29 2006 * 14:56
Dimitrij

Have a look at [#13]. I planned to implement such a feature for 1.1. If you want to write something similar, send me a mail, so we can coordinate the work.

Cheers, Dimitrij

Dec 29 2006 * 14:58
Dimitrij Denissenko
  • Milestone set to 1.1
Feb 21 2007 * 17:33
Luke Francl

Yes, we would like such a system as well.

The way that Bugzilla and Trac do it is that every time a change is made to the ticket, the reporter, owner, QA Contact, and people on the CC list are sent an email with the changes.

For example, if I change the status to duplicate and add a comment, it would send an email showing the old and new status, along with the comment.

Bugzilla also does Trac one better in that it allows users to set which emails they want to get. For example, I could set it so that I don’t get emails for changes I myself made.

It’s always annoyed me that Trac sends me emails for self-made changes, so maybe Retrospectiva doesn’t even need to make it an option: just do the right thing and not send them.

Feb 21 2007 * 18:04
Dimitrij
  • Assigned user set to dim

I previously had a few discussions about this issue. My plan was to implement a subscription system.

Everyone should be able to manually subscribe/unsubscribe to tickets to receive/stop receiving notification about its changes. Additionally the ticket form should have a “Subscribe” check box so posters/commenters could subscribe directly while posting/commenting.

There’s only one single problem with this approach! Sending multiple emails can not be done on the run, it establishes the requirement for Retrospectiva being able to handle background job queues. The processing could be done simply by cron or by more sophisticated solutions (e.g. backgroundrb), but both have their disadvantages.

The development of 1.1 is going to start soon and this feature will be definitely a part of it, but I would like to hear more opinions/suggestions/brainstorms/ideas on the background processing issue before.

Dimitrij

Feb 22 2007 * 17:24
Luke Francl
  • Assigned user set to dim

I don’t think you need to send multiple emails. Just set multiple recipients and let the SMTP server take care of it. I believe most SMTP servers can handle up to about 100 recipients before complaining, so this could be an effective solution for the immediate future, until Retrospectiva starts getting thousands of people in the CC list.

For background processing, check out ar_mailer, I think it’s the best solution because it requires very little code change to get working.

Regarding the subscription system, I think that’s find for CC list, but I think the ticket owner and reporter should be automatically subscribed. That’s how most bug trackers work and that’s what I’d like Retro to do for our team. I don’t want people forgetting to subscribe to the bug and not getting notifications.

Feb 22 2007 * 20:47
Dimitrij
  • Assigned user set to dim

… let the SMTP server take care of it …

That’s not that easy, believe me! Every email MUST be sent individually (due to technical and legal restrictions), therefore background processing facilities are required.

For background processing, check out ar_mailer…

AR_MAILER requires cron, some people have already expressed their concerns about a cron dependency.

…reporter should be automatically subscribed…

Again, there will be a ‘Subscribe’ checkbox for the reporter/commenter which will be checked by default (so nobody can forget to subscribe to a ticket). The assigned user (owner) will be subscribed automatically (until he manually works it over).

Nicolas Wu
Feb 25 2007 * 00:24
Nicolas Wu
  • Assigned user set to dim

That’s not that easy, believe me! Every email MUST be sent individually (due to technical and legal restrictions)

I’m interested: legal restrictions?

Apr 04 2007 * 03:54
Jon Dahl

I’m with Luke and Nicholas – I would think that the legal issues would lie with the user who abused the system, not with you. There are thousands of systems out there that send multiple emails via SMTP.

I’ve just started using Retrospectiva (switching from Trac), and the Trac CC field is an absolutely essential feature in my experience. As a project lead, I should be able to determine who sees a ticket. I can’t count on my developers to subscribe manually to tickets, or to check ticket changes every day. And working in an agile shop, my developers should be able to do the same thing. Trac’s CC implementation is great, IMO: users can easily add or remove names to a ticket.

I’d be willing to work on this feature. If you want, I could even run the multiple email issue by my attorney and see what issues are involved. Drop me a line if you’re interested.

Apr 04 2007 * 08:34
Dimitrij

Hi Jon!

Trac CC field is an absolutely essential feature in my experience

In mine as well so I’m happy to announce that the feature is already in progress and will be hopefully available in the trunk by the end of this week.

Apr 08 2007 * 19:05
Dimitrij Denissenko
  • Status changed from Open to Fixed

Implemented in [130]