https://github.com/trac-hacks/ticketmoverplugin
A trac plugin to move a ticket from one trac to a sibling trac.
https://github.com/trac-hacks/ticketmoverplugin
trac-plugin
Last synced: about 1 year ago
JSON representation
A trac plugin to move a ticket from one trac to a sibling trac.
- Host: GitHub
- URL: https://github.com/trac-hacks/ticketmoverplugin
- Owner: trac-hacks
- Created: 2010-10-28T13:49:12.000Z (over 15 years ago)
- Default Branch: acceleration
- Last Pushed: 2018-02-20T17:23:57.000Z (over 8 years ago)
- Last Synced: 2025-03-24T03:13:37.092Z (about 1 year ago)
- Topics: trac-plugin
- Language: Python
- Homepage: http://trac-hacks.org/wiki/TicketMoverPlugin
- Size: 97.7 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
TicketMoverPlugin
=================
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.

Requirements
------------
This plugin requires
[TracSqlHelperScript](http://trac-hacks.org/wiki/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.
Installation
------------
1. python install the plugin. If you install with pip (e.g. `pip
install .`) it will handle the TracSqlHelperScript dependency for
you.
2. Ensure the component is active either through the web admin or by
adding to trac.ini
```ini
[components]
ticketmoverplugin.ticketmover = enabled
```
3. In trac.ini enable this as a workflow provider. Under the
`[ticket]` section add `TicketMover` to the `workflow` list (comma
delimitted). e.g.
```ini
[ticket]
workflow = ConfigurableTicketWorkflow,TicketMover
```