Version 16 (modified by rjollos, 2 years ago) (diff)


Move Trac tickets from one project to another


Move Trac tickets from one project to another that resides in the same environment directory. 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.

I probably would have used the DatamoverPlugin (now deprecated), but this didn't work for Trac 0.11. TicketMoverPlugin also handles ticket attachments.

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.

Bugs/Feature Requests

Existing bugs and feature requests for TicketMoverPlugin are here.

If you have any issues, create a new ticket.


This plugin requires TicketSidebarProviderPlugin and TracSqlHelperScript.


Download the zipped source from here.

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

Enable the plugin:

ticketmoverplugin.ticketmover.ticketmover = enabled
ticketmoverplugin.web_ui.ticketmoverhandler = enabled
ticketmoverplugin.web_ui.ticketmoversidebar = enabled

Also make sure that the TicketSidebarProviderPlugin is enabled in the [components] section of your trac.ini:

ticketsidebarprovider.ticketsidebar.ticketsidebarprovider = enabled

The permission required for moving ticket can be specified (default value is shown):

move_permission = TICKET_ADMIN

Project on Remote Server

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)


See screenshot:

screenshot of the TicketMoverPlugin

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.

Recent Changes

[13301] by rjollos on 2013-06-22 18:38:24
Refs #11187: Renamed 0.11 directory to trunk.
[13220] by rjollos on 2013-05-23 08:11:28
Refs #11114: Added license headers to source files. Removed an unused import and fixed indentation in
[13219] by rjollos on 2013-05-23 08:03:29
Fixes #7312: Raise a TracError if a redirect to the target project has been requested by selecting Delete this ticket from the database but the base_url has been set in the target project.


Originally developed at The Open Planning Project

Author: k0s
Maintianer: none
Contributors: UnwashedMeme, jun66j5, rjollos

Attachments (1)

Download all attachments as: .zip