[rt-users] Creation of a ticket on resolve

David J. Schnardthorst daves at wavesco.com
Wed Oct 19 14:52:53 EDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a script that I have written that will upon resolving a ticket open a new
ticket in our "Accounting" queue for invoicing purposes.  In this, I would like
to add the Owner of the ticket (Name preferably, but their login ID is
suitable).  However, I cannot figure out how to do this.  Everything works fine
but I cannot get the Owner information.  What is the best way to do this.  (See
sample of template below).

===Create-Ticket: PaymentRequest
Subject: Payables Request for {$Tickets{'TOP'}->Subject}
Queue: Accounting
RefersTo: TOP
Content:

The ticket {$Ticket->id} has been closed and is marked as Billable.  Please
create a payment request for the Ticket Owner:

      Owner: {$Tickets('TOP'}->Owner}
Time Worked: {$Ticket->TimeWorked} minutes

ENDOFCONTENT
- --
David Schnardthorst
URL: http://www.wavesco.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDVpYF0I5vtVF88i0RAgv2AJ95KYV4sZnOlmsA+oZ39JTO+3648ACfQtYH
mZaO6ED+rCgXGiyxs0vHHWk=
=3AsZ
-----END PGP SIGNATURE-----



More information about the rt-users mailing list