Getting username from userid in a template

I created a scrip to run on owner change to notify admincc’s via
template “owner change”.

In the template I have:

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?

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@lists.bestpractical.com
The rt-users Archives

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm