wiki:ScheduledWorkflowPlugin

ScheduledWorfkflow

Description

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.

Bugs/Feature Requests

Existing bugs and feature requests for ScheduledWorkflowPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out ScheduledWorkflowPlugin from here using Subversion, or browse the source with Trac.

Example

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."

Recent Changes

[12277] by dkgdkg on 2012-11-01 22:11:34
change the trac-admin invocation a little bit to use a subcommand syntax
[12276] by dkgdkg on 2012-11-01 22:11:27
first version of ScheduledWorkflow plugin
[12275] by dkgdkg on 2012-11-01 22:08:14
complete transition to trunk-based workflow.

Author/Contributors

Author: dkgdkg
Maintainer: dkgdkg
Contributors:

Last modified 21 months ago Last modified on Nov 2, 2012 1:50:59 AM