wiki:TicketValidatorPlugin

Ticket Validator

Description

This is a basic ticket validation plugin 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.

defect

5 / 10

enhancement

2 / 8

task

1 / 1

Download

Download the zipped source from here.

Source

Check out TicketValidatorPlugin from here using Subversion, or browse the source with Trac.

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

Example

Suppose 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 as follows:

[ticketvalidator]
done.required = actual,estimate
accepted.required = estimate

Recent Changes

14513 by rjollos on 2015-04-02 06:59:17
0.2dev: Coding style changes.
14386 by rjollos on 2015-01-23 05:42:46
0.2dev: Improved appearance of Validation Rules admin page. Refs #12156.

Based on a patch by dhealey@...

14385 by rjollos on 2015-01-23 05:42:34
0.2dev: PEP-0008 changes.
(more)

Author/Contributors

Author: superafroman
Maintainer: none (needsadoption)
Contributors:

Last modified 7 months ago Last modified on Nov 20, 2015, 12:37:29 PM

Attachments (1)

Download all attachments as: .zip