|Version 6 (modified by rjollos, 23 months 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.
Download and Source
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 accepted. You can configure this through the admin page or edit the trac.ini file. The section in trac.ini would look something like this
[ticketvalidator] done.required = actual,estimate accepted.required = estimate
-  by rjollos on 2012-10-24 04:56:50
- Clarified license as 3-Clause BSD and added license text to source code. Change made with permission of original author, Max Stewart (superafroman).
-  by rjollos on 2012-10-22 21:02:53
(0.2dev) Moved ITemplateProvider implementation to the TicketValidatorAdminPanelProvider class. Removed empty htdocs directory and empty css file. Removed intermediate directory src. Added setup.cfg.
-  by superafroman on 2008-05-13 23:32:23
Added support for validating new tickets (i.e action is not defined in req.args)