Approvals Not Working

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

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

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

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

Dean Slaughter wrote:

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.

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

What are those things surrounding “TOP”?
�|� Request Tracker... So much more than a help desk — Best Practical Solutions – Trouble Ticketing. Free.