Ticket #10719 (new enhancement)

Opened 5 months ago

Last modified 5 months ago

turn "Ticket Component Subscriptions" into "Ticket custom-field 'project' Subscriptions"

Reported by: falkb Assigned to: hasienda
Priority: normal Component: AnnouncerPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

I rather like to have ticket custom-field 'project' being watched than 'component'.

I took a quick look in source:announcerplugin/trunk/announcer/opt/subscribers.py#L359 and it seems to me I just have to change the call of for c in model.Component.select(self.env) in function def render_announcement_preference_box(self, req, panel) in a way that the returned list are the values of another ticket custom-field instead of the ones of table components. Would that work?

Attachments

Change History

12/19/12 17:48:36 changed by falkb

Now this is more or less a first question, but due demands here I plan to make a patch anyway, and I'm going to attach it here then.


Add/Change #10719 (turn "Ticket Component Subscriptions" into "Ticket custom-field 'project' Subscriptions")




Change Properties
Action