Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Users

Fails to attach Parent ticket's attachment to the Child Ticket

 

 

Request Tracker users RSS feed   Index | Next | Previous | View Threaded


tonyjohn at hcl

Nov 27, 2009, 2:11 AM

Post #1 of 2 (395 views)
Permalink
Fails to attach Parent ticket's attachment to the Child Ticket

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.

-----------------------------------------------------------------------------------------------------------------------


jpierce at cambridgeenergyalliance

Nov 27, 2009, 4:46 PM

Post #2 of 2 (351 views)
Permalink
Re: Fails to attach Parent ticket's attachment to the Child Ticket [In reply to]

The usual means of doing so in a template is

RT-Attach: Yes

--
Cambridge Energy Alliance: Save money. Save the planet.
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales [at] bestpractical


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Request Tracker users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.