Cloning Tickets in RT


I read your code to cloning queues.

I work in a small project, and i need this workflow:

—>ticket (queue A)

cloning ticket to (queueB) “on Resolve”

That mean i have the original ticket on queue A(resolved) and a clone on queue B.

I can copy a ticket, (create a new), and copy the filds i need, but i don’t know the
method to copy the TicketHistory.

$Ticket->Content… don’t work

Can you help me?
Tanks best regards.