[rt-users] getting username from userid in a template

Todd Chapman rt at chaka.net
Fri Apr 2 13:36:10 EST 2004


Probably {$Ticket->OwnerObj->Name}

On Fri, Apr 02, 2004 at 11:18:07AM -0500, Mark wrote:
> I created a scrip to run on owner change to notify admincc's via
> template "owner change".
> 
> In the template I have:
> 
> Subject: Ticket Assigned to: {$Ticket->Owner}
> 
> This will print the new owner's userid, but I would like to print the
> username instead.  Is there a way to do this in a template without
> having to write supporting code in a scrip?
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.bestpractical.com
> http://lists.bestpractical.com/mailman/listinfo/rt-users
> 
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm



More information about the rt-users mailing list