wiki:TicketValidatorPlugin

Version 7 (modified by Ryan J Ollos, 12 years ago) (diff)

Syntax highlighting.

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

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

Download and Source

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

18151 by Cinc-th on 2021-04-04 18:27:40
TicketValidatorPlugin: bump version to 0.3.0. The plugin seems to work properly with Python 3 and Trac 1.5/Trac 1.6.
18150 by Cinc-th on 2021-04-04 18:15:00
TicketValidatorPlugin: new Jinja2 template for admin page. Genshi is no longer required.
17514 by rjollos on 2019-09-23 17:16:45
0.2dev: Require Trac >= 1.0
(more)

Author/Contributors

Author: superafroman
Maintainer: superafroman
Contributors:

Attachments (1)

Download all attachments as: .zip