|Version 1 (modified by superafroman, 8 years ago) (diff)|
Basic ticket validation for Trac. The validation is based on the state that the ticket is in so you can specify different requirements for different steps in the workflow.
Currently you can only specify required fields.
If you have any issues, create a new ticket.
Download the zipped source from [download:ticketvalidatorplugin here].
Say you require the 'actual' field to be filled out once the ticket has been completed and the 'estimate' field once the ticket has been accpeted. You can configure this through the admin page or edit the trac.ini file. The section in trac.ini would look something like this
[ticketvalidation] actual.required = done estimate.required = accepted,done