Modify

Opened 2 years ago

Last modified 2 years ago

#10719 new enhancement

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

Reported by: falkb Owned by: 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 (0)

Change History (1)

comment:1 Changed 2 years ago 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 Comment

Modify Ticket

Action
as new The owner will remain hasienda.
Author


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

 
Note: See TracTickets for help on using tickets.