wiki:TicketValidatorPlugin

Version 1 (modified by superafroman, 6 years ago) (diff)

New hack TicketValidatorPlugin, created by superafroman

Ticket Validator

Description

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.

Bugs/Feature Requests

Existing bugs and feature requests for TicketValidatorPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

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

Example

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

Recent Changes

[12251] by rjollos on 2012-10-24 04:56:50

Fixes #10527:

  • Clarified license as 3-Clause BSD and added license text to source code. Change made with permission of original author, Max Stewart (superafroman).
[12238] 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.
[3676] by superafroman on 2008-05-13 23:32:23
Added support for validating new tickets (i.e action is not defined in req.args)

Author/Contributors

Author: superafroman
Contributors:

Attachments (1)

Download all attachments as: .zip