[rt-users] FW: Creation of Child Tickets using templates :Error
Baskaraganesan Natarajan
banatara at hcl.in
Fri Nov 13 06:27:33 EST 2009
Folks,
I am running RT 3 in Fedora 10.
I'm trying to create Child Tickets based on some conditions using Templates but it fails to create child tickets. Please find below, the details regarding the child ticket creation error:-
Scrip
___________________________________________________________________________
Description:
Condition: On Create
Action: Create Tickets
Template: child
Stage: TransactionCreate
____________________________________________________________________________
Template:
===Create-Ticket: Child
Subject: {$Tickets{'TOP'}->Subject} - Child
Status:new Parents:TOP
Type:ticket
Refers-To: {$Tickets{'TOP'}->Id()}
Content: This is a child ticket
Queue: 20
ENDOFCONTENT
____________________________________________________________________________
Error description: Log file
[Thu Nov 12 12:04:27 2009] [debug]: Committing scrip #113 on txn #27712 of ticket #1657 (/usr/lib/perl5/vendor_perl/5.10.0/RT/Scrips_Overlay.pm:190)
[Thu Nov 12 12:04:27 2009] [debug]: In CreateByTemplate (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/CreateTickets.pm:345)
[Thu Nov 12 12:04:27 2009] [debug]: Workflow: processing create-Child of RT::Ticket=HASH(0xbc63ed94) (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/CreateTickets.pm:360)
[Thu Nov 12 12:04:27 2009] [debug]: Workflow: evaluating
Subject: {$Tickets{'TOP'}->Subject} - Child
Status:new
Parents:TOP
Type:ticket
Refers-To: {$Tickets{'TOP'}->Id()}
Content: This is a child ticket
Queue: 20
ENDOFCONTENT (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/CreateTickets.pm:653)
[Thu Nov 12 12:04:27 2009] [debug]: Workflow: yielding Subject: - Child
Status:new
Parents:TOP
Type:ticket
Refers-To: 1657
Content: This is a child ticket
Queue: 20
ENDOFCONTENT (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/CreateTickets.pm:669)
[Thu Nov 12 12:04:27 2009] [debug]: not a recognised queue object. (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:279)
[Thu Nov 12 12:04:27 2009] [debug]: RT::Ticket=HASH(0xbc726d34) No queue given for ticket creation. (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:284)
[Thu Nov 12 12:04:27 2009] [error]: Couldn't create related ticket create-Child for 1657 Could not create ticket. Queue not set (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/CreateTickets.pm:391)
[Thu Nov 12 12:04:27 2009] [warning]: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.10.0/RT/Action/CreateTickets.pm line 1188. (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/CreateTickets.pm:1188)
____________________________________________________________________________________________
I tried using both Queue name and id ,it resulted in the same error. Any help???
Thanks,
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.
-----------------------------------------------------------------------------------------------------------------------
More information about the rt-users
mailing list