[[PageOutline(2-5,Contents,pullout)]] = Ticket extensions == Description This plugin adds the following features to a ticket: * Apply template to the ticket description according to the ticket type. * Template can be customized in TracAdmin. * Custom fields can be enabled or disabled according to the ticket type. '''New ticket''' where a specific ticket template is selected: [[Image(ticketext_template.png)]] '''Template admin''' where the customisation occurs as well as the ability to enable / disable custom fields: [[Image(ticketext_template_admin.png)]] '''Note:''' * If you use [http://sourceforge.jp/projects/shibuya-trac/wiki/plugins%2FDecoratorPlugin DecoratorPlugin], please see this page: http://d.hatena.ne.jp/szk-takanori/20081017/1224257533 * If you use !TicketPropController Plugin, please see this page: http://syo.cocolog-nifty.com/freely/2010/02/trac-b97d.html == Bugs/Feature Requests Existing bugs and feature requests for TicketExtPlugin are [report:9?COMPONENT=TicketExtPlugin here]. If you have any issues, create a [/newticket?component=TicketExtPlugin new ticket]. [[TicketQuery(component=TicketExtPlugin&group=type,format=progress)]] == Download Download the zipped source from [export:ticketextplugin here]. The following releases are available: ||'''Version'''||'''Trac'''||'''Release date'''|| ||[/changeset/7776/ticketextplugin/0.11/?old_path=/&filename=ticketextplugin-0.3.2&format=zip ticketext-0.3.2]||0.11||2010-03-14|| ||[/changeset/5011/ticketextplugin/0.11/?old_path=/&filename=ticketextplugin-0.3&format=zip ticketext-0.3]||0.11||2008-12-15|| ||[/changeset/4672/ticketextplugin/0.11/?old_path=/&filename=ticketextplugin-0.2.1&format=zip ticketext-0.2.1]||0.11||2008-10-30|| ||[/changeset/4531/ticketextplugin/0.11/?old_path=/&filename=ticketextplugin-0.2&format=zip ticketext-0.2]||0.11||2008-10-18|| == Source You can check out TicketExtPlugin from [/svn/ticketextplugin here] using Subversion, or [source:ticketextplugin browse the source] with Trac. == Installation === Requirements This plugin requires: * CustomFieldAdminPlugin * [http://sourceforge.net/projects/json-py/ json-py], if you use Python 2.5. === Installation steps * Install [http://sourceforge.net/projects/json-py/ json-py] * Copy json.py to site-packages directory. * For Trac 0.11: {{{ $ easy_install https://trac-hacks.org/svn/ticketextplugin/0.11 }}} * For Trac 0.12: {{{ $ easy_install https://trac-hacks.org/svn/ticketextplugin/0.12 }}} == Configuration Add the following to your `trac.ini` file: {{{#!ini [components] ticketext.* = enabled [ticketext] defect.template = [problem][[BR]]\n\n\n[expect][[BR]]\n\n\n[note][[BR]]\n defect.enablefields = custom_field1,custom_field2 }}} The options are as follows: ||'''key'''||'''description'''|| ||''''''.template||Ticket description template. It is possible to use WikiFormatting.|| ||''''''.enablefields||Enable custom fields. Comma separated list of fields. * ''''''は日本語も利用可能です == Recent Changes [[ChangeLog(ticketextplugin, 3)]] == Author/Contributors '''Author:''' [wiki:takanorig] [[BR]] '''Maintainer:''' [wiki:takanorig], [wiki:ChrisNelson] [[BR]] '''Contributors:'''