[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 16:40:49 EDT 2010
> For example this:
> { $Transaction->CreatorObj->RealName }
>
> Take a look in the wiki, there are more examples:
> http://wiki.bestpractical.com/view/TemplateSnippets
>
> -Chris
Thank you for this. That's what I was looking for.
This comes back to me trying to get familiar with the documentation. Could you point me to where I can find in the documentation a description of these $Transaction->, $Ticket->, etc objects, or is there a way to explore them by other means?
ML
> Am 08.09.2010 20:30, schrieb Matthew Larsen:
> > 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:
> >
> >
> >
> > {$Transaction->Content()}
> >
> >
> >
> > Comments on this ticket made by: <b>{NOT SURE WHAT GOES HERE}</b>.
> >
> > <br>
> >
> > <br><b>Queue:</b> {$Ticket->QueueObj->Name}
> >
> > <br><b>Status:</b> {$Ticket->Status}
> >
> > <br><br>
> >
> > {$RT::WebURL}Ticket/Display.html?id={$Ticket->id}
> >
> >
> >
> > What string do I put in the template to get the name of user making
> the
> > comment in the ticket?
> >
> >
> >
> >
> >
> > Sincerely,
> >
> > Matt L.
> >
> >
> >
> >
> >
> >
> > RT Training in Washington DC, USA on Oct 25 & 26 2010
> > Last one this year -- Learn how to get the most out of RT!
More information about the rt-users
mailing list