Bas, I'm using the ticketmover plugin which moves the ticket to a specified environment but I wish to modify it since you can only move tickets one at a time.
Mark ________________________________ From: BasHopman <[email protected]> To: Trac Users <[email protected]> Sent: Thursday, April 29, 2010 1:48:12 PM Subject: [Trac] Re: How to transfer tickets from one environment to another Hi Mark, I posted a similar question recently here http://groups.google.com/group/trac-users/browse_thread/thread/389a0a9040dcbae3# Since I did not receive any response, I developed a solution myself. As I do not have very much in-debt knowledge about TRAC, I started using ticket_clone.py (http://trac.edgewall.org/wiki/TicketClone) and modified it. It comes down to this: - I modified ticket_clone.py such that it posts to a ticket_clone.php on the same server - ticket_clone.php offers a list of environments to which a ticket can be cloned (including the original environment where the ticket comes from) - after selecting the target environment en confirming, ticket_clone.php then uses XML-RPC calls to inject the ticket into the target environment, in the description a link is added to the original ticket - additionally, ticket_clone.php uses a XML-RPC call to update the original ticket with comment containing a reference to the newly created ticket I would have preferred implementing it fully within the TRAC environment, but as stated earlier, I do not have the knowledge needed, so this is second best... Please let me know what you think about this solution. Bas On Apr 29, 5:32 am, mark ardiente <[email protected]> wrote: > Hi, > > It would be great if someone could help me transfer tickets from a previous > trac environment to another trac environment. > My problem is the ticket id wouldn't be unique anymore and reference to it > would be broken once it tickets are transferred. > > Thanks, > Mark > > -- > You received this message because you are subscribed to the Google Groups > "Trac Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/trac-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
