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

Landon Stewart lstewart at iweb.com
Tue Mar 24 13:56:48 EDT 2015


Hello,

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 : lstewart at iweb.com
Lead Specialist, Abuse and Security Management
Spécialiste principal, gestion des abus et sécurité
http://iweb.com : +1 (888) 909-4932

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20150324/0acb2a59/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20150324/0acb2a59/attachment.sig>


More information about the rt-users mailing list