wiki:TicketValidatorPlugin

Version 5 (modified by anonymous, 3 years ago) (diff)

--

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

See existing bugs and feature requests, and feel free to create a new ticket.

Download and Source

Download the zipped source, check out 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 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

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