[rt-users] Creation of a ticket on resolve

Ruslan Zakirov ruslan.zakirov at gmail.com
Wed Oct 19 18:45:46 EDT 2005


On 10/19/05, David J. Schnardthorst <daves at wavesco.com> wrote:
> -----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}
1) wrong braces
2) try {$Tickets{'TOP'}->OwnerObj->Name}

> 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-----
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
>
> Buy your copy of our new book, RT Essentials, today!
>
> Download a free sample chapter from http://rtbook.bestpractical.com
>


--
Best regards, Ruslan.



More information about the rt-users mailing list