wiki:CondFieldsPlugin

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

Needs a maintainer.

Conditional fields support for tickets

Description

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.

Configuration

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

Download the zipped source from [download:condfieldsplugin here].

Source

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

Example

To enable:

[components]
condfields.* = enabled

Example configuration:

[condfields]
include_standard = false
defect = foo, bar
task = baz

Recent Changes

14505 by rjollos on 2015-03-25 05:49:12
3.0dev: Fixed indentation errors in [12825] and [12827]. Fixes #12248.

Patch by bannerth.akos@….

14083 by rjollos on 2014-08-13 07:28:26

3.0dev: Trac 1.0-compatible version. Refs #11920.

  • Uses add_script_data to pass variables to script rather than dynamically interpolating a template.
  • Removed unnecessary code from admin module that duplicated declaration of options in web_ui module.
  • Required permission to access the "Ticket Type Fields" admin page is now TICKET_ADMIN rather than TRAC_ADMIN.
14082 by rjollos on 2014-08-13 06:21:06
Branching for Trac 1.0. Refs #11920.
(more)

Author/Contributors

Author: coderanger
Maintainer: none
Contributors: