[rt-devel] Approvals Not Working

Dean Slaughter dslaughter at zixcorp.com
Wed Apr 7 11:43:32 EDT 2004


Using RT 3.0.9

Approval documentation is not clear on how to set this up.  I have tried the examples from the Doc but they are not working.  Here is my log output...

Apr  7 08:44:26 nagiosrt RT: Ticket creation failed for 11 Can't call method "Subject" on an undefined value at template line 1.  Stack:   [template:1]   [/opt/rt3/lib/RT/Action/CreateTickets.pm:353]   [/opt/rt3/lib/RT/ScripAction_Overlay.pm:207]   [/opt/rt3/lib/RT/Scrip_Overlay.pm:417]   [/opt/rt3/lib/RT/Scrip_Overlay.pm:352]   [/opt/rt3/lib/RT/Scrips_Overlay.pm:196]   [/opt/rt3/lib/RT/Transaction_Overlay.pm:118]   [/opt/rt3/lib/RT/Ticket_Overlay.pm:3801]   [/opt/rt3/lib/RT/Ticket_Overlay.pm:625]   [/opt/rt3/lib/RT/Interface/Web.pm:345]   [/opt/rt3/share/html/Ticket/Display.html:68]   [/opt/rt3/share/html/Ticket/Create.html:255]   [/opt/rt3/share/html/autohandler:195]  (/opt/rt3/lib/RT/Action/CreateTickets.pm:358)

Here is my template...

===Create-Ticket: approval


Subject: Configuration Change review for {$Tickets{?TOP?}->Subject}


Depended-On-By: TOP
Queue:  Approvals
Type:  Approval

Content: Someone has created a ticket. you should review and approve it, so they can finish their work

Here is my scrip...

Condition: On Create 
Action: Create Tickets 
Stage: TransactionCreate 
Template: Operations Approval


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://pallas.eruditorum.org/pipermail/rt-devel/attachments/20040407/24484f52/attachment.html


More information about the Rt-devel mailing list