[rt-users] Adding the name of the user entering a comment in the web interface to the template that is used to send an email to CCs

Matthew Larsen mlarsen at servicerepairsolutions.com
Wed Sep 8 14:43:04 EDT 2010

Please forgive my ignorance.  I've been searching through the wiki to try and figure out how to do this, but I'm struggling with the documentation.

I'm trying to create a script that is triggered when someone comments on a ticket in the web UI that will send to the CCs for that queue the contents of that comment plus a snippet that says something like "comments added by [RT user making the comment]" .

I believe I'm close to getting this working by creating a script with Condition = On Comment, Action = Notify Ccs as Comment with a template something like:


Comments on this ticket made by: <b>{NOT SURE WHAT GOES HERE}</b>.
<br><b>Queue:</b> {$Ticket->QueueObj->Name}
<br><b>Status:</b> {$Ticket->Status}

What string do I put in the template to get the name of user making the comment in the ticket?

Matt L.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100908/2767d13e/attachment.htm>

More information about the rt-users mailing list