Re: [rt-users] Cloning a transaction into another ticket

2013-04-17 Thread Maciej Dobrzanski
I think $ticket-Correspond(Content = $transaction-ContentAsMIME); is what you search for. Chris Thanks Chris. Indeed. I missed that somehow. Actually, I am less interested in Transaction::ContentAsMIME, which builds a message/rfc822 message, but Attachment::ContentAsMIME does exactly what I

Re: [rt-users] Cloning a transaction into another ticket

2013-04-16 Thread Maciej Dobrzanski
In the mean time I have found out an easier way of doing what I want: my $transaction = RT::Transaction-new(RT::SystemUser); $transaction-Load(43397); my $user = RT::User-new(RT::SystemUser); $user-Load($transaction-Creator); my $ticket = RT::Ticket-new($user); $ticket-Load(4747);

Re: [rt-users] Cloning a transaction into another ticket

2013-04-16 Thread Christian Loos
Am 16.04.2013 13:48, schrieb Maciej Dobrzanski: $ticket-Correspond(Content = $transaction-Content); I think $ticket-Correspond(Content = $transaction-ContentAsMIME); is what you search for. Chris

[rt-users] Cloning a transaction into another ticket

2013-04-15 Thread Maciej Dobrzanski
Hello, Often a person or a group of people have several open tickets for different things and from time to time they will reply to an incorrect one. I'd like to have the option either to move or to copy such misdirected correspondence into the right ticket. Moving seems like a bad idea, because