wiki:TracTicketTemplatePlugin

Version 8 (modified by rjollos, 7 years ago) (diff)

Tested and confirmed to work with 0.12. Add screen capture of Admin panel.

Trac Ticket Template

SEE:ZoomQuiet ~ Collection KSPEG Trac hacking

Description

TracTicketTemplate enables users to create tickets using templates which can be customized by the Trac administrator. The Trac administrator can specify a general template default for all uncustomized ticket types.

Bugs/Feature Requests

Existing bugs and feature requests for TracTicketTemplatePlugin are here.

If you have any issues, create a new ticket.

Download

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

Source

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

Install

You can install this software following the normal procedure for a Trac plugin.

  1. Uninstall TracTicketTemplate if you have installed before.
  2. Change to the directory containning setup.py.
  3. If you want to install this plugin globally, that will install this plugin to the python path:
    • python setup.py install
  4. 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
      
  5. Config trac.ini:
    [components]
    tickettemplate.* = enabled
    

Example

  • 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.
  • Screen capture of newticket page.

No image "trac_ttt_demo.png" attached to TracTicketTemplatePlugin

  • Screen capture of Admin panel.

No image "TicketTemplateAdminPage.png" attached to TracTicketTemplatePlugin

Recent Changes

15414 by rjollos on 2016-03-08 20:37:35
1.0dev: Fix regression in r14729

The classmethod line should have been removed.

Fixes #12700.

15102 by rjollos on 2015-12-07 18:12:05
1.0dev: Fix regression in [14129]

My Template selector was not functioning due to
execution of selector before adding the template containing
the element intended to be selected.

Refs #12603.

15073 by rjollos on 2015-11-27 15:58:12

1.0dev: Conform to PEP8

  • Fixed failing test
  • Removed Trac < 1.0 fallback code
(more)

Author/Contributors

Author: richard
Maintainer: richard
Contributors:

Attachments (2)

Download all attachments as: .zip