Validate ticket fields


Key features:

  • support validate anonymous to input valid email address
  • support required fields
  • support match fields to regular expression

Bugs/Feature Requests

Existing bugs and feature requests for TracTicketValidatorPlugin are here.

If you have any issues, create a new ticket.


2 / 5


1 / 3


Download the zipped source from here.


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


  1. Validate anonymous author email address and make the comment a required input:
    ticketvalidator.* = enabled
    validate_author = true
    validate_author.tip = Please fill your valid email address
    validates = comment, summary
    comment.rule = .*
    comment.tip = Please input comment
    summary.rule = [A-Z].*
    summary.tip = Please correct summary

Note: when validating more than one field, use a list after "validates =".

  1. There is a very straightward implementation of parent/child tickets: just prepend parent ticket number to the child ticket summary. For example, if the parent ticket 234 summary is <#0>A parent ticket, then the child ticket summary will be <#234>A child ticket. We can perform a validation as follows:
    ticketvalidator.* = enabled
    validates = summary
    summary.rule = ^<#\d*>.*
    summary.tip = Please correct summary format

Recent Changes

[7518] by richard on 2010-02-09 03:09:42

Fixed #6405

  • Rename entry_points from ticketvalidator to tracticketvalidator, to resolve name collision with TicketValidator
[6333] by richard on 2009-08-07 05:07:45
update license to BSD
[6331] by richard on 2009-08-07 04:44:57
update license in


Author: richard
Maintainer: richard

Last modified 3 weeks ago Last modified on Apr 9, 2015, 12:35:27 PM