[rt-users] owner change - old owner

Björn Schulz bjoern.schulz at desy.de
Thu Feb 24 10:32:37 EST 2011


Hi Roy,
I'm on 3.8.7

I've tried:
 Last Owner: {$TransactionObj->OldValue}

and get:
RT: Template parsing error: Can't call method "OldValue" on an undefined
value at template line 15.  Stack:   [template:15]

Last Owner: {$Transaction->OldValue} gives me the ID of the User but I
need the RealName and the emailaddress.

Cheers,
 Björn


Am 24.02.11 16:08, schrieb Raed El-Hames:
>> oldOwner ?
> I think you grab that from the TransactionObj->OldValue, and find the user object and its email address from there. 
> Sorry I cannot remember the exact syntax, I am no where near my RT.
> 
> Roy
> 
>> -----Original Message-----
>> From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-
>> bounces at lists.bestpractical.com] On Behalf Of Björn Schulz
>> Sent: 24 February 2011 14:51
>> To: rt-users at lists.bestpractical.com
>> Subject: [rt-users] owner change - old owner
>>
>> Hi guys,
>>
>> I try to send a mail after owner change to the new and the old owner,
>> but I stuck...
>> I try to do it with a template.
>>
>> New owner = {$Ticket->OwnerObj->Name}
>> oldOwner ?
>>
>> Any help is appreciated.
>>
>> Cheers,
>>   Björn



More information about the rt-users mailing list