wiki:CatagorizedFieldsPlugin

Catagorized fields for Trac

Description

This plugin purpose on catagorizing ticket fields.

This plugin is designed for follow situation:

  • Your ticket has lot of fields.
  • The fields of ticket is varying in different condition.
  • Some fields of ticket should only be visible to authorized user (not implemented)

Bugs/Feature Requests

Existing bugs and feature requests for CatagorizedFieldsPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

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

Installation

  1. Install the plugin just like any other
  2. Set up the trac.ini
    1. In [components] section, add:catagorizedfields.catagorizedfields = enabled
    2. Create a [catagorized-fields] section, and adds the catagories. e.g.:
      [catagorized-fields]
      # declare a catagory in syntax "(catagory_id) = (catagory_display_name)"
      cat1 = catagory_one
      
      # specify the hide condition in syntax "(catagory_id).hide_when_(condition-field) = (field-value1)[, (field-value2), ..]"
      cat1.hide_when_status = new, closed
      
      # the order of catagory, the smaller the index is, the more the catagory is close to top
      cat1.index = 1
      
    3. In [ticket-custom] section, specify your fields with catagory property:
      [ticket-custom]
      custom_field1 = text
      
      # declare one field with catagory in syntax "(field_id).catagory = (catagory_id)"
      custom_field1.catagory = cat1
      
      # the order of field, the smaller the index is, the more the field is close to top
      custom_field1.index = 1
      
  3. That's all.

Recent Changes

[13883] by cauly on 2014-04-29 09:34:13

NEW:

  1. ordering of catagories and fields

FIXED:

  1. table column size problem
  2. small ui imporvements
[13795] by cauly on 2014-03-31 03:22:32
small bug fix
[13784] by cauly on 2014-03-21 07:05:43
update license text

Author/Contributors

Author: cauly
Maintainer: cauly
Contributors:

Last modified 8 months ago Last modified on Apr 29, 2014, 9:38:03 AM

Attachments (2)

Download all attachments as: .zip