Modify

Opened 5 years ago

Closed 4 months ago

#10719 closed enhancement (wontfix)

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

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

comment:1 Changed 5 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.

comment:2 Changed 8 months ago by Ryan J Ollos

Owner: Steffen Hoffmann deleted

comment:3 Changed 4 months ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Please upgrade to Trac 1.2, which has integrated the core of AnnouncerPlugin. Please raise the issue on the trac:MailingList if you encounter the issue with Trac 1.2.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.