Content
Move Trac tickets from one project to another
Notice: This plugin is unmaintained and available for adoption.
Description
This plugin allows you to move Trac tickets from one project to another, provided the projects reside in the same environment directory, including attachments.
If you have permissions, a box will show up allowing you to move the current ticket to a different project. If you check the delete
checkbox, the ticket will also be deleted from the database, though this is not recommended in most cases. If you don't delete the ticket, it will be closed with a resolution of moved
:
Install and enable the plugin and in the ticket sidebar controls will be shown to anyone with TICKET_ADMIN
permission (by default) to move the ticket to another peer project where the user also has TICKET_ADMIN
permissions.
There is a fork of this plugin by UnwashedMeme that implements an ITicketActionController
for moving tickets. Please open tickets for that version of the plugin in the GitHub issue tracker.
lkraav: I had a use case where I needed to move tickets between Tracs on two different machines. TicketMoverPlugin does not support this natively. To solve this, I mounted remote Trac project directory into a directory residing next to the local project directory over CIFS (certainly NFS or other network FS should work). This makes remote Trac appear local to TicketMoverPlugin and tickets were moved without errors. (10/06/09)
Bugs/Feature Requests
Existing bugs and feature requests for TicketMoverPlugin are here.
If you have any issues, create a new ticket.
defect |
12 / 14 |
||
---|---|---|---|
enhancement |
1 / 3 |
||
task |
2 / 2 |
Download
Download the zipped source from here.
Source
You can also check out TicketMoverPlugin from here using Subversion, or browse the source with Trac.
Installation
General instructions on installing Trac plugins can be found on the TracPlugins page.
Enable the plugin in your trac.ini
file:
[components] ticketmoverplugin.ticketmover = enabled ticketmoverplugin.web_ui.ticketmoverhandler = enabled ticketmoverplugin.web_ui.ticketmoversidebar = enabled
Enable the TicketSidebarProviderPlugin in your trac.ini
file:
[components] ticketsidebarprovider.ticketsidebar.ticketsidebarprovider = enabled
The permission required for moving a ticket can be specified (default value is shown):
[ticket] move_permission = TICKET_ADMIN
The environment variable TRAC_ENV_PARENT_DIR
must be set in your web configuration or cgi/fcgi/wsgi script when running with a web server such as Apache with mod_wsgi/mod_python.
Recent Changes
- 15129 by rjollos on 2015-12-22 05:18:54
-
0.1.3dev: Normalize casing before comparing paths
The issue was reported by Ahmed M in
gmessage:trac-users:APt7mgBUHPM/kTrktlX1BQAJ.
Refs #12608.
- 15110 by rjollos on 2015-12-10 23:01:01
-
0.1.3dev: Conform to PEP8
Refs #12608.
- 15109 by rjollos on 2015-12-10 22:58:48
-
0.1.3dev: Refactor to use
get_environments
Refs #12608.
(more)
Author/Contributors
Originally developed at The Open Planning Project.
Author: k0s
Maintainer: none (needsadoption)
Contributors: UnwashedMeme, jun66j5, rjollos
Attachments (1)
-
screenshot.png (25.8 KB) - added by 15 years ago.
screenshot of the TicketMoverPlugin
Download all attachments as: .zip