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]:
<[EMAIL PROTECTED]> #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]:
<[EMAIL PROTECTED]> sent To: [EMAIL PROTECTED]
(/opt/rt3/lib/RT/Action/SendEmail.pm:312)
[Tue Jul 18 22:31:53 2006] [info]:
<[EMAIL PROTECTED]> #582/10862 - Scrip 4
(/opt/rt3/lib/RT/Action/SendEmail.pm:237)
[Tue Jul 18 22:31:53 2006] [info]:
<[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
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