|Version 17 (modified by UnwashedMeme, 3 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.
If you have any issues, create a new ticket.
Download the zipped source from [download:ticketmoverplugin here].
Enable the plugin:
[components] 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):
[ticket] 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)
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.
- 15129 by rjollos on 2015-12-22 06:18:54
0.1.3dev: Normalize casing before comparing paths
The issue was reported by Ahmed M in
- 15110 by rjollos on 2015-12-11 00:01:01
0.1.3dev: Conform to PEP8
- 15109 by rjollos on 2015-12-10 23:58:48
0.1.3dev: Refactor to use get_environments
Originally developed at The Open Planning Project