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.

Reply via email to