Hi.
I have a customer who wants to tailor his template verbiage based upon
if the ticket is New, Updated, or Resolved ... I was originally just
going by the $Ticket->Status in the template, but they have a funny
habit of creating the ticket with the "open" status. Obviously, this
throws off the template.
I have been trying to figure out if I can access the previous value of
the $Ticket->Status, but so far have struck out. I've played with
trying to get the list of transactions for the ticket, but if it's in
there, I can't get the right magic to work.
Currently, they are maintaining 3 different scrips so they can use 3
slightly different templates ... that seems sort of silly, and there
should be a better way.
Any suggestions or code fragments?
Thanks!
Sam
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
We're hiring! Come hack Perl for Best Practical:
http://bestpractical.com/about/jobs.html