[rt-users] On assign, send text of ticket to new owner

Russ Johnson russj at dimstar.net
Wed Jan 22 13:53:31 EST 2003

At 09:33 AM 1/22/2003 +0100, Harald Wagener wrote:

>Am Dienstag, 21.01.03 um 22:31 Uhr schrieb Russ Johnson:
>>Is there a way to do this?
>>What I need is when a ticket is given to a new owner, the body of the 
>>ticket is included in the notification email.
>There is an OnOwnerChange scrip condition in the contrib files, and 
>displaying the full history of a ticket has been discussed on the list 
>recently. You should find it when checking the archive.

Thanks for your help.

I already have the OnOwnerChange installed.

I found what I think you were referring to for a template. However, the 
rendering of the archive leaves a lot to be desired. Here's what I see:

=3D=3D=3DFULL TICKET HISTORY=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

{my $transactions =3D $Ticket->Transactions;
while (my $trans =3D $transactions->Next) {
         $OUT .=3D $trans->CreatedObj->AsString . ": " .
         if ($trans->TimeTaken) {
                 $OUT .=3D       " (".$trans->TimeTaken." min)";
         $OUT .=3D "\n";
         if ($trans->Content) {
                 $OUT .=3D $trans->Content . "\n";
         $OUT .=3D ('-'x78)."\n";


I'm assuming that those =3D's are supposed to be something else. 
Unfortunately, I couldn't tell you what they are. Anyone who knows, please 
let me know.


Russ Johnson 

More information about the rt-users mailing list