|Version 4 (modified by rjollos, 2 years ago) (diff)|
This plugin provides a new subcommand for trac-admin that makes it easy to automatically transition tickets after a certain period of time.
The new trac-admin subcommand is transition, and you can run it with either check (to see what's affected) or do (to carry out a transition).
Trac [/srv/trac]> transition check new 14 13: rotate does not work losslessly with png files (new) Trac [/srv/trac]> transition do new idle 14 robot "ticket has been new for two weeks; auto-transitioning to idle" Trac [/srv/trac]>
You might want to consider invoking it from a cronjob.
If you have any issues, create a new ticket.
Download the zipped source from here.
in your crontab:
0 0 * * * trac-admin /srv/tracenv transition do new idle 14 automatic "This ticket has been new for 2 weeks; marking as idle."