Contents
Trac Component Alias Plugin
Description
Changes the component based off the selection from a custom field of type radio or select. The plugin is implemented in Python, so the component will be changed only after the form is submitted (as opposed to some implementations in JavaScript that may dynamically change the field client-side).
Bugs/Feature Requests
Existing bugs and feature requests for TracComponentAliasPlugin are here.
If you have any issues, create a new ticket.
Download
Download the zipped source from here.
Source
You can check out TracComponentAliasPlugin from here using Subversion, or browse the source with Trac.
Example
; test1 and test2 define the grouping. The name can be whatever you want. [component_alias] test1.alias = component1 ; change component to this alias if "TEST" is selected test1.custom_field = custom_field ; custom ticket field this applies to test1.name = TEST ; name from the custom ticket field this applies to test2.alias = component2 ; change component to this alias if "This is a test" is selected test2.custom_field = custom_field ; custom ticket field this applies to test2.name = This is a test ; name from the custom ticket field this applies to [ticket-custom] custom_field = select custom_field.options = TEST|This is a test
Recent Changes
[13155] by zshahan on 05/17/13 17:38:11
small fix for when changing the component after ticket is created, it actually changes the component.
[13051] by zshahan on 05/04/13 06:18:43
Plugin should work as expected and play nice with other plugins.
[12677] by zshahan on 03/01/13 20:26:10
version bump.
[12676] by zshahan on 03/01/13 20:20:10
applied t10883-r12636-1.patch. Thanks rjollos!

