[rt-users] RT3.6 no queue in template
John McCoy
jmccoy at ggu.edu
Fri Jul 21 17:10:27 EDT 2006
Still plugging away on this and getting no traction.
It was suggest replacing:
Parent: { $Tickets{'TOP'}->Id() }
with
Parents: TOP
per wiki page: http://wiki.bestpractical.com/index.cgi?WorkFlow
No change in the error, I've been playing around with the order in my
Template but that seems to have no effect either. RT is looking really
good for us in every other way if I can just get automated work flows to
work thanks for any ideas. I've tried adding log statements in the
template but they seem to get ignored, is that possible?
Current Template:
===Create-Ticket: Remove Groupwise User
Subject: Disable Novell Account
Parents: TOP
Queue: Support
Owner: rthduser
Requestor: { $Tickets{'TOP'->OwnerObj->EmailAddress() }
Content-Type: text/plain
Content:
The user listed in the parent ticket { $Tickets{'TOP'}->Id() } needs to
be disabled in eDir and Groupwise. Please remember to resolve this
ticket when it is done.
ENDOFCONTENT
Error log:
[Fri Jul 21 21:02:26 2006] [debug]: Converting 'ISO-8859-1' to 'utf-8'
for text/plain - Employee Termination Notice (/opt/rt3/lib/RT/I18N.pm:226)
[Fri Jul 21 21:02:26 2006] [debug]: About to think about scrips for
transaction #10972 (/opt/rt3/lib/RT/Transaction_Overlay.pm:160)
[Fri Jul 21 21:02:26 2006] [debug]: About to think about scrips for
transaction #10973 (/opt/rt3/lib/RT/Transaction_Overlay.pm:160)
[Fri Jul 21 21:02:26 2006] [debug]: About to think about scrips for
transaction #10974 (/opt/rt3/lib/RT/Transaction_Overlay.pm:160)
[Fri Jul 21 21:02:26 2006] [debug]: About to think about scrips for
transaction #10975 (/opt/rt3/lib/RT/Transaction_Overlay.pm:160)
[Fri Jul 21 21:02:26 2006] [debug]: About to think about scrips for
transaction #10976 (/opt/rt3/lib/RT/Transaction_Overlay.pm:160)
[Fri Jul 21 21:02:26 2006] [debug]: About to prepare scrips for
transaction #10976 (/opt/rt3/lib/RT/Transaction_Overlay.pm:164)
[Fri Jul 21 21:02:26 2006] [debug]: Found 4 scrips
(/opt/rt3/lib/RT/Scrips_Overlay.pm:364)
[Fri Jul 21 21:02:27 2006] [debug]: Detected Termination Notice with
subject = Employee Termination Notice
(/opt/rt3/local/lib/RT/Condition/OnEmployeeTermination.pm:17)
[Fri Jul 21 21:02:27 2006] [debug]: Line: ===
(/opt/rt3/lib/RT/Action/CreateTickets.pm:810)
[Fri Jul 21 21:02:27 2006] [debug]: Line: ===Create-Ticket: Remove
Groupwise User (/opt/rt3/lib/RT/Action/CreateTickets.pm:813)
[Fri Jul 21 21:02:27 2006] [debug]: **** Create ticket: create-Remove
Groupwise User (/opt/rt3/lib/RT/Action/CreateTickets.pm:828)
[Fri Jul 21 21:02:27 2006] [debug]: Line: Subject: Disable Novell
Account (/opt/rt3/lib/RT/Action/CreateTickets.pm:813)
[Fri Jul 21 21:02:27 2006] [debug]: Line: Parents: TOP
(/opt/rt3/lib/RT/Action/CreateTickets.pm:813)
[Fri Jul 21 21:02:27 2006] [debug]: Line: Queue: Support
(/opt/rt3/lib/RT/Action/CreateTickets.pm:813)
[Fri Jul 21 21:02:27 2006] [debug]: Line: Owner: rthduser
(/opt/rt3/lib/RT/Action/CreateTickets.pm:813)
[Fri Jul 21 21:02:27 2006] [debug]: Line: Requestor: {
$Tickets{'TOP'->OwnerObj->EmailAddress() }
(/opt/rt3/lib/RT/Action/CreateTickets.pm:813)
[Fri Jul 21 21:02:27 2006] [debug]: Line: Content-Type: text/plain
(/opt/rt3/lib/RT/Action/CreateTickets.pm:813)
[Fri Jul 21 21:02:27 2006] [debug]: Line: Content:
(/opt/rt3/lib/RT/Action/CreateTickets.pm:813)
[Fri Jul 21 21:02:27 2006] [debug]: Line: The user listed in the parent
ticket { $Tickets{'TOP'}->Id() } needs to be disabled in eDir and
Groupwise. Please remember to resolve this ticket when it is done.
(/opt/rt3/lib/RT/Action/CreateTickets.pm:813)
[Fri Jul 21 21:02:27 2006] [debug]: Line: ENDOFCONTENT
(/opt/rt3/lib/RT/Action/CreateTickets.pm:813)
[Fri Jul 21 21:02:27 2006] [debug]: About to commit scrips for
transaction #10976 (/opt/rt3/lib/RT/Transaction_Overlay.pm:173)
[Fri Jul 21 21:02:27 2006] [info]:
<rt-3.6.0-24032-1153515746-578.599-3-0 at ggu.edu> #599/10976 - Scrip 3
(/opt/rt3/lib/RT/Action/SendEmail.pm:237)
[Fri Jul 21 21:02:27 2006] [debug]: About to think about scrips for
transaction #10977 (/opt/rt3/lib/RT/Transaction_Overlay.pm:160)
[Fri Jul 21 21:02:27 2006] [info]:
<rt-3.6.0-24032-1153515746-578.599-3-0 at ggu.edu> sent To: jmccoy at ggu.edu
(/opt/rt3/lib/RT/Action/SendEmail.pm:312)
[Fri Jul 21 21:02:27 2006] [info]:
<rt-3.6.0-24032-1153515747-186.599-4-0 at ggu.edu> #599/10976 - Scrip 4
(/opt/rt3/lib/RT/Action/SendEmail.pm:237)
[Fri Jul 21 21:02:27 2006] [info]:
<rt-3.6.0-24032-1153515747-186.599-4-0 at ggu.edu> No recipients found. Not
sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:249)
[Fri Jul 21 21:02:27 2006] [debug]: In CreateByTemplate
(/opt/rt3/lib/RT/Action/CreateTickets.pm:571)
[Fri Jul 21 21:02:27 2006] [debug]: Workflow: processing create-Remove
Groupwise User of RT::Ticket=HASH(0xabd5570)
(/opt/rt3/lib/RT/Action/CreateTickets.pm:586)
[Fri Jul 21 21:02:27 2006] [debug]: Workflow: evaluating
Subject: Disable Novell Account
Parents: TOP
Queue: Support
Owner: rthduser
Requestor: { $Tickets{'TOP'->OwnerObj->EmailAddress() }
Content-Type: text/plain
Content:
The user listed in the parent ticket { $Tickets{'TOP'}->Id() } needs to
be disabled in eDir and Groupwise. Please remember to resolve this
ticket when it is done.
ENDOFCONTENT (/opt/rt3/lib/RT/Action/CreateTickets.pm:879)
[Fri Jul 21 21:02:27 2006] [debug]: Workflow: yielding
(/opt/rt3/lib/RT/Action/CreateTickets.pm:895)
[Fri Jul 21 21:02:27 2006] [debug]: not a recognised queue object.
(/opt/rt3/lib/RT/Ticket_Overlay.pm:391)
[Fri Jul 21 21:02:27 2006] [debug]: RT::Ticket=HASH(0xad9f3dc) No queue
given for ticket creation. (/opt/rt3/lib/RT/Ticket_Overlay.pm:396)
[Fri Jul 21 21:02:27 2006] [error]: Couldn't create related ticket
create-Remove Groupwise User for 599 Could not create ticket. Queue not
set (/opt/rt3/lib/RT/Action/CreateTickets.pm:617)
[Fri Jul 21 21:02:27 2006] [debug]: Handling links for
(/opt/rt3/lib/RT/Action/CreateTickets.pm:1414)
[Fri Jul 21 21:02:27 2006] [debug]: Handling postponed actions for
(/opt/rt3/lib/RT/Action/CreateTickets.pm:1461)
[Fri Jul 21 21:02:27 2006] [info]: Ticket 599 created in queue
'Infrastructure' by jmccoy (/opt/rt3/lib/RT/Ticket_Overlay.pm:745)
John McCoy, Jr wrote:
> Simple template triggered by subject line to create child ticket(s)
> for a workflow process. I've seen other posts about getting HASH
> errors with 3.6, is this a 3.6 bug? I've tried not listing a queue or
> using its number all with the same result.
>
> Thanks.
>
> ===Create-Ticket: Remove Groupwise User
> Queue: support
> Subject: Disable Novell Account
> Owner: rthduser
> Requestor: { $Tickets{'TOP'->OwnerObj->EmailAddress() }
> Parent: { $Tickets{'TOP'}->Id() }
> Content-Type: text/plain
> Content:
> The user listed in the parent ticket { $Tickets{'TOP'}->Id() } needs
> to be disabled in eDir and Groupwise. Please remember to resolve this
> ticket when it is done.
> ENDOFCONTENT
>
>
> Log:
> [Tue Jul 18 22:31:52 2006] [debug]: Converting 'ISO-8859-1' to 'utf-8'
> for text/plain - Employee Termination Notice
> (/opt/rt3/lib/RT/I18N.pm:226)
> [Tue Jul 18 22:31:52 2006] [debug]: About to think about scrips for
> transaction #10858 (/opt/rt3/lib/RT/Transaction_Overlay.pm:160)
> [Tue Jul 18 22:31:52 2006] [debug]: About to think about scrips for
> transaction #10859 (/opt/rt3/lib/RT/Transaction_Overlay.pm:160)
> [Tue Jul 18 22:31:52 2006] [debug]: About to think about scrips for
> transaction #10860 (/opt/rt3/lib/RT/Transaction_Overlay.pm:160)
> [Tue Jul 18 22:31:52 2006] [debug]: About to think about scrips for
> transaction #10861 (/opt/rt3/lib/RT/Transaction_Overlay.pm:160)
> [Tue Jul 18 22:31:52 2006] [debug]: About to think about scrips for
> transaction #10862 (/opt/rt3/lib/RT/Transaction_Overlay.pm:160)
> [Tue Jul 18 22:31:52 2006] [debug]: About to prepare scrips for
> transaction #10862 (/opt/rt3/lib/RT/Transaction_Overlay.pm:164)
> [Tue Jul 18 22:31:52 2006] [debug]: Found 4 scrips
> (/opt/rt3/lib/RT/Scrips_Overlay.pm:364)
> [Tue Jul 18 22:31:53 2006] [debug]: Detected Termination Notice with
> subject = Employee Termination Notice
> (/opt/rt3/local/lib/RT/Condition/OnEmployeeTermination.pm:17)
> [Tue Jul 18 22:31:53 2006] [debug]: Line: ===
> (/opt/rt3/lib/RT/Action/CreateTickets.pm:810)
> [Tue Jul 18 22:31:53 2006] [debug]: Line: ===Create-Ticket: Remove
> Groupwise User (/opt/rt3/lib/RT/Action/CreateTickets.pm:813)
> [Tue Jul 18 22:31:53 2006] [debug]: **** Create ticket: create-Remove
> Groupwise User (/opt/rt3/lib/RT/Action/CreateTickets.pm:828)
> [Tue Jul 18 22:31:53 2006] [debug]: Line: Queue: support
> (/opt/rt3/lib/RT/Action/CreateTickets.pm:813)
> [Tue Jul 18 22:31:53 2006] [debug]: Line: Subject: Disable Novell
> Account (/opt/rt3/lib/RT/Action/CreateTickets.pm:813)
> [Tue Jul 18 22:31:53 2006] [debug]: Line: Owner: rthduser
> (/opt/rt3/lib/RT/Action/CreateTickets.pm:813)
> [Tue Jul 18 22:31:53 2006] [debug]: Line: Requestor: {
> $Tickets{'TOP'->OwnerObj->EmailAddress() }
> (/opt/rt3/lib/RT/Action/CreateTickets.pm:813)
> [Tue Jul 18 22:31:53 2006] [debug]: Line: Parent: {
> $Tickets{'TOP'}->Id() } (/opt/rt3/lib/RT/Action/CreateTickets.pm:813)
> [Tue Jul 18 22:31:53 2006] [debug]: Line: Content-Type: text/plain
> (/opt/rt3/lib/RT/Action/CreateTickets.pm:813)
> [Tue Jul 18 22:31:53 2006] [debug]: Line: Content:
> (/opt/rt3/lib/RT/Action/CreateTickets.pm:813)
> [Tue Jul 18 22:31:53 2006] [debug]: Line: The user listed in the
> parent ticket { $Tickets{'TOP'}->Id() } needs to be disabled in eDir
> and Groupwise. Please remember to resolve this ticket when it is done.
> (/opt/rt3/lib/RT/Action/CreateTickets.pm:813)
> [Tue Jul 18 22:31:53 2006] [debug]: Line: ENDOFCONTENT
> (/opt/rt3/lib/RT/Action/CreateTickets.pm:813)
> [Tue Jul 18 22:31:53 2006] [debug]: About to commit scrips for
> transaction #10862 (/opt/rt3/lib/RT/Transaction_Overlay.pm:173)
> [Tue Jul 18 22:31:53 2006] [info]:
> <rt-3.6.0-21248-1153261912-222.582-3-0 at ggu.edu> #582/10862 - Scrip 3
> (/opt/rt3/lib/RT/Action/SendEmail.pm:237)
> [Tue Jul 18 22:31:53 2006] [debug]: About to think about scrips for
> transaction #10863 (/opt/rt3/lib/RT/Transaction_Overlay.pm:160)
> [Tue Jul 18 22:31:53 2006] [info]:
> <rt-3.6.0-21248-1153261912-222.582-3-0 at ggu.edu> sent To:
> jmccoy at ggu.edu (/opt/rt3/lib/RT/Action/SendEmail.pm:312)
> [Tue Jul 18 22:31:53 2006] [info]:
> <rt-3.6.0-21248-1153261913-1296.582-4-0 at ggu.edu> #582/10862 - Scrip 4
> (/opt/rt3/lib/RT/Action/SendEmail.pm:237)
> [Tue Jul 18 22:31:53 2006] [info]:
> <rt-3.6.0-21248-1153261913-1296.582-4-0 at ggu.edu> No recipients found.
> Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:249)
> [Tue Jul 18 22:31:53 2006] [debug]: In CreateByTemplate
> (/opt/rt3/lib/RT/Action/CreateTickets.pm:571)
> [Tue Jul 18 22:31:53 2006] [debug]: Workflow: processing create-Remove
> Groupwise User of RT::Ticket=HASH(0xa003364)
> (/opt/rt3/lib/RT/Action/CreateTickets.pm:586)
> [Tue Jul 18 22:31:53 2006] [debug]: Workflow: evaluating
> Queue: support
> Subject: Disable Novell Account
> Owner: rthduser
> Requestor: { $Tickets{'TOP'->OwnerObj->EmailAddress() }
> Parent: { $Tickets{'TOP'}->Id() }
> Content-Type: text/plain
> Content:
> The user listed in the parent ticket { $Tickets{'TOP'}->Id() } needs
> to be disabled in eDir and Groupwise. Please remember to resolve this
> ticket when it is done.
> ENDOFCONTENT (/opt/rt3/lib/RT/Action/CreateTickets.pm:879)
> [Tue Jul 18 22:31:53 2006] [debug]: Workflow: yielding
> (/opt/rt3/lib/RT/Action/CreateTickets.pm:895)
> [Tue Jul 18 22:31:53 2006] [debug]: not a recognised queue object.
> (/opt/rt3/lib/RT/Ticket_Overlay.pm:391)
> [Tue Jul 18 22:31:53 2006] [debug]: RT::Ticket=HASH(0xa0033b8) No
> queue given for ticket creation. (/opt/rt3/lib/RT/Ticket_Overlay.pm:396)
> [Tue Jul 18 22:31:53 2006] [error]: Couldn't create related ticket
> create-Remove Groupwise User for 582 Could not create ticket. Queue
> not set (/opt/rt3/lib/RT/Action/CreateTickets.pm:617)
> [Tue Jul 18 22:31:53 2006] [debug]: Handling links for
> (/opt/rt3/lib/RT/Action/CreateTickets.pm:1414)
> [Tue Jul 18 22:31:53 2006] [debug]: Handling postponed actions for
> (/opt/rt3/lib/RT/Action/CreateTickets.pm:1461)
> [Tue Jul 18 22:31:53 2006] [info]: Ticket 582 created in queue
> 'Infrastructure' by jmccoy (/opt/rt3/lib/RT/Ticket_Overlay.pm:745)
>
> System info:
> RHEL 4 all patches (perl 5.8.5,Apache/2.0.52)
> Hardware: VM ESX 3.0 RC2
> RT 3.6 from tar ball
> mod_fastcgi-2.4.2 from tar ball
> DBIx::SearchBuilder 1.39
> mysql Ver 14.7 Distrib 4.1.20, for redhat-linux-gnu (i386) using
> readline 4.3
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
>
> We're hiring! Come hack Perl for Best Practical:
> http://bestpractical.com/about/jobs.html
>
--
*************************************
John McCoy, Jr
Sr. Systems and Network Administrator
Enterprise Technology Services
Golden Gate University
415-442-6560
*************************************
More information about the rt-users
mailing list