[rt-users] Fails to attach Parent ticket's attachment to the Child Ticket

Tony John - ERS, HCL Tech tonyjohn at hcl.in
Fri Nov 27 05:11:22 EST 2009


Hi ,

Please find below the Template for setting the Child Ticket Values based on Parent Tickets:

===Create-Ticket: Child
Subject: {$Tickets{'TOP'}->Subject} - ChildDate
Queue: 20
Status: new
Parents: TOP
Type: ticket
Refers-To: {$Tickets{'TOP'}->Id()}
Agency : {$Tickets{'TOP'}->FirstCustomFieldValue('Advertiser');}
Due: {$Tickets{'TOP'}->Due()}
Attachments: {$Tickets{'TOP'}->Transactions->First->Attachments();}
Content: {$Tickets{'TOP'}->Transactions->First->Content();}


The template adds all the values except the attachments.It fails to add the Parent ticket attachments to the child ticket.

Any help?

Regards,
Tony

DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have 
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20091127/b0d975ec/attachment.htm>


More information about the rt-users mailing list