wiki:TicketValidatorPlugin

Version 1 (modified by Max Stewart, 10 years ago) (diff)

New hack TicketValidatorPlugin, created by superafroman

Ticket Validator

Notice: This plugin is unmaintained and available for adoption.

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 [download:ticketvalidatorplugin 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

17104 by rjollos on 2018-04-07 19:15:15
0.2dev: Conform to PEP8
17102 by rjollos on 2018-04-06 20:00:24
0.2dev: Remove trailing whitespace
14513 by rjollos on 2015-04-02 04:59:17
0.2dev: Coding style changes.
(more)

Author/Contributors

Author: superafroman
Contributors:

Attachments (1)

Download all attachments as: .zip