|Version 13 (modified by rjollos, 4 years ago) (diff)|
Add a "Clone" button to tickets
Adds a "Clone" button to each ticket.
Get the plugin from
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.
- Trac 0.13dev
- this feature is now integrated as an optional component ([T10686]). You only need to activate it in trac.ini (tracopt.ticket.clone) or by using the plugin panel in the web admin.