Is there a way to include attachments from $Tickets{"TOP"} when using RT::Action::CreateTickets?


I’m using RT::Action::CreateTickets to create a ticket with the contents of a template. In the template I’m using “{$Tickets{“TOP”}->Transactions->First->Content}” in the ‘Content:’ of the ticket which is working.

Is there a way to include all attachments that might be present on that transaction as well? I’ve found the example code for including ticket history in another ticket but it doesn’t really apply because I’m creating the ticket with a template using RT::Action::CreateTickets.

I suppose if there’s no way I’ll have to abandon the use of RT::Action::CreateTickets and write a custom action module more similar to the example code I found.

Landon Stewart :
Lead Specialist, Abuse and Security Management
Spécialiste principal, gestion des abus et sécurité : +1 (888) 909-4932

signature.asc (203 Bytes)