wiki:TracTicketTemplate

Version 4 (modified by richard, 6 years ago) (diff)

--

Ticket template for easily apply predefined ticket description

Description

TracTicketTemplate enable users to create ticket using templates which can be customized by Trac administrator. Trac administrator can spcify a general template default for all uncustomized ticket types.

Bugs/Feature Requests

Existing bugs and feature requests for TracTweakUI are here.

If you have any issues, create a new ticket.

Download and Source

Check out TracTweakUI using Subversion, or browse the source with Trac.

Configuration

  1. Uninstall Trac Ticket Template if you have installed before.
  1. Change to the directory containning setup.py.
  1. If you want to install this plugin globally, that will install this plugin to the python path:
    • python setup.py install
  1. If you want to install this plugin to trac instance only:
    • python setup.py bdist_egg
    • copy the generated egg file to the trac instance's plugin directory
      cp dist/*.egg /srv/trac/env/plugins
      
  1. Config trac.ini:
    [components]
    tickettemplate.* = enabled
    

Usage

  • Trac administrator should define the template for all ticket types:
    • Login as administrator, open Admin -> Ticket System -> Ticket Template
    • 'load' the template of each ticket type, modify them and 'apply changes'
  • After defined ticket template, normal user can create ticket using predefined template by change ticket types dropdown list items.

Recent Changes

[3525] by richard on 2008-04-17 12:13:57

version 0.5

  • use db to store template texts
  • add permission TT_ADMIN
  • add upgrades.py
  • add model.py
[3524] by richard on 2008-04-17 12:12:23

TicketTemplate 0.4 (Mar 25, 2008)

  • add preview to admin page
  • use one persistence file to store all template texts
  • fixed bug: leading space in template text is not stripped now
  • add some default template text for trac's default install:
    • defect
    • enhancement
    • task
    • default
[3523] by richard on 2008-04-17 12:09:54

Version 0.3

  • Implement replace Trac's original 'New Ticket' handler
  • Add tests scripts
  • Add documents

Author/Contributors

Author: richard