Code Monkey home page Code Monkey logo

ticketmoverplugin's Introduction

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

ticketmoverplugin's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ticketmoverplugin's Issues

Ticket Moved (wrong status and wrong user at the destination)

Hello,
I'm having problem with the git version. Before ticket is moved it is
closed as duplicate. Then its moved to a new trac. On the new trac it is
also closed, the username was moved but the user doesn't exist in the new
trac.

So the ticket is closed (nobody will see it), and nobody will be looking for it because its assign to a user that doesn't use that trac.

Can you update the ticket at the destination to:
1: move to new trac and set to user to "somebody"

  1. Move to new ticket and set as status new

    Let me know if that can be done.
    Thanks
    Lucas

Server-relative link to destination project

Instead of a direct link in URL format to the destination project, would it possible to use the TracLinks syntax for server-relative links? Otherwise if I move my Trac environments to a new server all the links will be wrong.

compatibility problem with the trac 0.12

Hello

Successfully used the plugin with trac 0.10. Recently spent updating and pragin stopped working - it is no longer displayed on the right of tickets. Depending TicketSidebarProviderPlugin and TracSqlHelperScript installed and working. The installation of the plugin was producing a Web Admin.
In what may be the problem? Or, if the performance of trac 0.12 is not possible, can you advise analogue.

Thank you.

Any interest in adding your plugin to the trac-hacks organization?

Hi,

I'm an administrator for trac-hacks.org. We've created an organization on GitHub and are inviting authors of trac-hacks plugins to join the organization. Your repository could be transferred into the organization as described in the GitHub docs. You'd retain full control over the repository, but the hope is that it will be easier for users on GitHub to find trac-hacks plugins, such as yours, by viewing the trac-hacks organization. We also plan to eventually add search capabilities that aggregate the plugins available on trac-hacks.org and github.com/trac-hacks, to provide a single index of all plugins available for Trac.

In the future, if you choose to no longer maintain the plugin, the organization would be able to provide commit access to new developers. This would only be done with your permission, as has been the policy for plugins hosted on trac-hacks.org. If you've already decided to no longer maintain the plugin, we would particularly appreciate you transferring the plugin to the trac-hacks organization so that we can help find new maintainers for it.

Thank you for your consideration.

Kind regards,
Ryan

(Apologies if I open a ticket against two of your plugins. I'm doing a manual search of GitHub to find Trac plugins and invite plugin authors; it's sometimes difficult to keep everything straight).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.