wiki:CloneTicketPlugin

Version 9 (modified by hoff.st@…, 5 years ago) (diff)

--

Add a "Clone" button to tickets

Adds a "Clone" button to each ticket.

Installation

Get the plugin from

http://trac.edgewall.org/browser/trunk/sample-plugins/ticket_clone.py

Hint:

At first glance there is only a Trac view of the code. Go down to the bottom of that page and use the download option "Original Format" under section "Download in other formats". Even the other link "Plain Text" will work just fine for saving the file to your system, but may load the file into a different viewer/editor, if in your favorite browser you choose to open it instead of just downloading.

Copy ticket_clone.py to the plugin directory and restart the server that is providing Trac (tracd, Apache, etc.). The corresponding section in trac.ini enables the plugin with usual syntax:

[components]
ticket_clone.* = enabled

Trac = 0.11: You have to enable the plugin manually, either directly in trac.ini before restarting the server, or through the admin interface after restarting.
Trac >= 0.12dev: The plugin will just work after server restart. This was tested with 0.12dev-r8263, but should work with any later version as well. You'll only need to got to trac.ini or the admin interface, if you'd like to disable the plugin without removing it from the plugin directory.

Attachments (1)

Download all attachments as: .zip