[rt-users] Current user mail and name

Andy Harrison aharrison at gmail.com
Tue Feb 22 13:59:42 EST 2005


On Mon, 21 Feb 2005 15:03:01 +0100, Francisco Javier Martínez Martinez
<fjmartinez at csi.uned.es> wrote:
> Hello.
> 
> I am customizing the templates for the comments mails in a queue, I wanna
> that in the email appears the name of the user logged in the RT  that makes
> the comment, I had tried this:
> 
> From: {$TransactionObj->CurrentUser->Name}
> 
> with no succes, all this become to that if I took  a ticket there is a
> owner value for that ticket:
> 
> Owner: {$Ticket->OwnerObj->Name}
> 
> But what happends if nobody takes the ticket ,  I need that the commends
> come from somebody, but I could find the right value for that fields.

I believe you want $TransactionObj->CreatorObj->Name.

-- 
Andy Harrison



More information about the rt-users mailing list