Version 4 (modified by rjollos, 2 years ago) (diff)

Needs a maintainer.

Conditional fields support for tickets


This plugin allows having some ticket fields be conditional based on the ticket type. Note that is implemented entirely using JavaScript, so if that is disabled the user will see all fields like normal.


In the condfields section, each ticket type maps to one entry of the same name (see below for an example). By default all the standard Trac fields are shown for all types, but you can disable this with the include_standard option.

Bugs/Feature Requests

Existing bugs and feature requests for CondFieldsPlugin are here.

If you have any issues, create a new ticket.


Download the zipped source from here.


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


To enable:

condfields.* = enabled

Example configuration:

include_standard = false
defect = foo, bar
task = baz

Recent Changes

[12827] by rjollos on 2013-03-28 03:14:12
Refs #2197: Fixed numerous PEP8 style violations. Fixed syntax error in condfields.js.
[12826] by rjollos on 2013-03-28 03:14:04
Refs #4668: Files that should have been added in [12825], including a COPYING file with the license text.
[12825] by rjollos on 2013-03-28 02:30:39
Refs #4668: Added admin panel for configuration.

Initial patch by mixedpuppy, with iterations by 5past10 and szaffarano.

Note: this has been lightly tested by the committer. Please open new ticket to report any problems you find.


Author: coderanger
Maintainer: none