Modify

Opened 8 years ago

Last modified 6 years ago

#12869 new enhancement

Projects should have an owner for default notifications

Reported by: nielo Owned by:
Priority: normal Component: SimpleMultiProjectPlugin
Severity: normal Keywords: Notification TicketNotification
Cc: Cinc-th Trac Release:

Description

Like components projects should offer an owner field which holds the project's maintainer. If a new ticket come's without component and assignee, no notification is send.

Attachments (0)

Change History (13)

comment:1 Changed 8 years ago by falkb

Type: defectenhancement

If a new ticket come's without component and assignee, no notification is send.

Do you mean in this case the project owner should get the notification?

comment:2 Changed 8 years ago by nielo

Yeah. Don't you think it would be nice and fits realistic needs?

comment:3 Changed 8 years ago by anonymous

It's quite special, I'm not sure. I can easily imagine team leaders who don't want that, including some here. :) Maybe it's better the other way round that they subscribe to emails coming from this project. The question is how easy it is to convince the announcer plugin to offer project-wise...

comment:4 in reply to:  3 Changed 8 years ago by nielo

Replying to anonymous:

It's quite special, I'm not sure. I can easily imagine team leaders who don't want that, including some here. :)

And they do argue how?

comment:5 Changed 8 years ago by Ryan J Ollos

With Trac 1.2 you could create a notification subscriber, similar to the Component subscriber proposed in trac:#11870. If someone creates the component (i.e. plugin), I suggest adding it to SimpleMultiProjectPlugin and use an extras_requires so that's it's only available for Trac >= 1.2: browser/tags/trac-1.0.13/setup.py#L105.

There's no maintainer for AnnouncerPlugin and generally it only supports components in Trac, so support is unlikely to be added there.

Also, you can set [ticket] default_component: TracIni#ticket-section, and it's also possible to set the default_owner. I understand that is restrictive, but I just wanted to provide it as workaround of limited utility.

comment:6 Changed 8 years ago by nielo

Okay, thx.

comment:7 Changed 8 years ago by Ryan J Ollos

I'm happy to help if you need any suggestions or code review. trac:#11870 would be a good template to start with.

comment:8 Changed 8 years ago by falkb

As stated here I'm just around for bugfixes in the medium term. You could ask Cinc-th if he's willing to add such a patch since it sounds quite straightforward what to do for the AnnouncerPlugin. In any case I wouldn't suggest to switch to "email to project owner" by default but as option.

Hmm, well, I haven't rights to add Cinc-th as CC for this ticket.

comment:9 Changed 8 years ago by Ryan J Ollos

Cc: Cinc-th added

comment:10 in reply to:  8 ; Changed 8 years ago by nielo

Replying to falkb:

In any case I wouldn't suggest to switch to "email to project owner" by default but as option.

Why?

To clarify my point: if we do use projects instead of components to organize our companies trac environment (because we want your wonderful extra candy like differing milestones and timeline) and a ticket author does not know the person to assign but does know the project, who should get notified about the new ticket if not the project's owner?

comment:11 in reply to:  10 ; Changed 8 years ago by falkb

Replying to nielo:

Replying to falkb:

In any case I wouldn't suggest to switch to "email to project owner" by default but as option.

Why?

To clarify my point: if we do use projects instead of components to organize our companies trac environment (because we want your wonderful extra candy like differing milestones and timeline) and a ticket author does not know the person to assign but does know the project, who should get notified about the new ticket if not the project's owner?

IMO, !nobody should be notified by default. It's better to check the ticket tables of the project regularly, e.g. in team meetings or during their preparation. Anyway, the announcer plugin offers a feature "ticket component subscriptions" in Preferences-->Announcements, and it's a good idea to add "ticket project subscriptions" as well. This way this plugin changes Trac's default behavior a little, only. And it's up to the preferences of a certain project leader whether he must poll for changes or gets notified by automatisms.

Last edited 8 years ago by falkb (previous) (diff)

comment:12 in reply to:  11 Changed 8 years ago by nielo

Okay, I see. This improvement would be wonderful.

comment:13 Changed 6 years ago by Ryan J Ollos

Owner: falkb deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.