Allows copying or moving a ticket from one trac to a sibling trac (i.e. a trac-environment in the same parent folder as the current trac environment).
The user will need the TICKET_ADMIN privilege on the current trac and TICKET_CREATE privilege on the target trac.
This plugin adds a new Action
(alongside "leave as new", "resolve as
__", "accept", etc) of "Move to DROPDOWNLIST and Delete Ticket CHECKBOX"
I.e. you can move the ticket somewhere else and optionally delete it
from here (if you click the checkbox).
The DROPDOWNLIST is populated with all trac environments that are siblings to the current one. Permissions are checked on the target trac when you actually attempt to move a ticket to there.
This plugin requires TracSqlHelperScript, though installing with pip handles this automatically.
It is known to work with Trac 1.0 though I believe it will work with Trac 0.12 as well.
-
python install the plugin. If you install with pip (e.g.
pip install .
) it will handle the TracSqlHelperScript dependency for you. -
Ensure the component is active either through the web admin or by adding to trac.ini
[components]
ticketmoverplugin.ticketmover = enabled
- In trac.ini enable this as a workflow provider. Under the
[ticket]
section addTicketMover
to theworkflow
list (comma delimitted). e.g.
[ticket]
workflow = ConfigurableTicketWorkflow,TicketMover