Skip to content

OnroerendErfgoed/TicketMoverPlugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

A screenshot showing what it looks like

Requirements

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.

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

    [components]
    ticketmoverplugin.ticketmover = enabled
  1. In trac.ini enable this as a workflow provider. Under the [ticket] section add TicketMover to the workflow list (comma delimitted). e.g.
    [ticket]
    workflow = ConfigurableTicketWorkflow,TicketMover

About

A trac plugin to move a ticket from one trac to a sibling trac.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%