On Oct 28, 12:58 pm, "Noah Kantrowitz" <[EMAIL PROTECTED]> wrote: > Trac, like all webapps, has no sense of time. Things like this must be done > with an external script called from something like cron. You can add a > custom field (see the datefield plugin) or possibly use the due date of the > assigned milestone. See the TracDev/DataModels wiki page for a brief > overview on the Trac model API. > > --Noah > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of Michael Altman > Sent: Tuesday, October 28, 2008 10:56 AM > To: [email protected] > Subject: [Trac] Priority increase as deadline date approaches > > Is it possible to somehow set a deadline date for tickets, and then have the > priority of the ticket increase as it gets closer to the deadline? > > Thanks, > > Michael
the easiest way i could think of (although not the cleanest) would be to install the datefield plugin, the batchmodify plugin, do a query for all tickets in milestone X, sort by the custom duedate field you have that I forgot to mention, the check all the boxes for ones with due dates < whatever day (visually) and set the priority. ok, not "easiest" but least invasive might be better description. OR, right an sql script to do it directly on the db would work I suppose. Coderanger, what's up with the top post?:D --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
