<div dir="ltr">I figured my issue out, set the logging to debug mode and just, worked the errors.<div><br><div>Template Syntax Issue</div><div><br></div><div>Queue => vs. Queue: </div><div><br></div><div><br></div><div>../sigh</div><div><br></div><div>Thanks for the help either way, appreciated!</div><div><br></div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 11, 2015 at 12:32 PM, Trev <span dir="ltr"><<a href="mailto:trevor@onepost.net" target="_blank">trevor@onepost.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Syslog Errors -- The $template_id seems warning level to me, but may be an issue. I went into the database and confirmed the data correct for template ids etc.. etc..</div><div><br></div><div>Attached configuration snapshots..</div><div><br></div><div>Any further thoughts appreciated, thanks!</div><div><br></div><div><div>Jan 11 12:23:16 jamie RT: [9697] Committing scrip #13 on txn #1759 of ticket #125 (/opt/rt4/sbin/../lib/RT/Scrips.pm:306)</div><div>Jan 11 12:23:16 jamie RT: [9697] Line: === (/opt/rt4/sbin/../lib/RT/Action/CreateTickets.pm:541)</div><div>Jan 11 12:23:16 jamie RT: [9697] ===Create Ticket: ticket1 (/opt/rt4/sbin/../lib/RT/Action/CreateTickets.pm:544)</div><div>Jan 11 12:23:16 jamie RT: [9697] Use of uninitialized value $template_id in hash element at /opt/rt4/sbin/../lib/RT/Action/CreateTickets.pm line 594.</div><div>Jan 11 12:23:16 jamie RT: [9697] Subject: Auto Generation Test  (/opt/rt4/sbin/../lib/RT/Action/CreateTickets.pm:544)</div><div>Jan 11 12:23:16 jamie RT: [9697] Use of uninitialized value $template_id in hash element at /opt/rt4/sbin/../lib/RT/Action/CreateTickets.pm line 594.</div><div>Jan 11 12:23:16 jamie RT: [9697] Queue => RT Testing (/opt/rt4/sbin/../lib/RT/Action/CreateTickets.pm:544)</div><div>Jan 11 12:23:16 jamie RT: [9697] Use of uninitialized value $template_id in hash element at /opt/rt4/sbin/../lib/RT/Action/CreateTickets.pm line 594.</div><div>Jan 11 12:23:16 jamie RT: [9697] Content: Someone has created a ticket. you should review and approve it, (/opt/rt4/sbin/../lib/RT/Action/CreateTickets.pm:544)</div><div>Jan 11 12:23:16 jamie RT: [9697] Use of uninitialized value $template_id in hash element at /opt/rt4/sbin/../lib/RT/Action/CreateTickets.pm line 594.</div><div>Jan 11 12:23:16 jamie RT: [9697] so they can finish their work (/opt/rt4/sbin/../lib/RT/Action/CreateTickets.pm:544)</div><div>Jan 11 12:23:16 jamie RT: [9697] Use of uninitialized value $template_id in hash element at /opt/rt4/sbin/../lib/RT/Action/CreateTickets.pm line 594.</div><div>Jan 11 12:23:16 jamie RT: [9697] ENDOFCONTENT (/opt/rt4/sbin/../lib/RT/Action/CreateTickets.pm:544)</div><div>Jan 11 12:23:16 jamie RT: [9697] Use of uninitialized value $template_id in hash element at /opt/rt4/sbin/../lib/RT/Action/CreateTickets.pm line 594.</div></div><div><br></div><div><img src="cid:ii_i4sp7n7c0_14ada0cda60c45df" width="555" height="339"><br><img src="cid:ii_i4sp7n7n1_14ada0cda60c45df" width="562" height="294"><br><img src="cid:ii_i4sp7n7u2_14ada0cda60c45df" width="562" height="116"><br>​<br></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 10, 2015 at 7:51 PM, Alex Peters <span dir="ltr"><<a href="mailto:alex@peters.net" target="_blank">alex@peters.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">A "user-defined" action will do nothing if the corresponding "custom action code" boxes are empty.  (That should probably actually trigger an error.)<div><br></div><div>Setting your scrip's action to "Create Tickets" should have your scrip working as expected.</div><div><br></div><div>You can also use queue names in create-ticket templates if you'd prefer the template to be a little more self-explanatory.</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 11 January 2015 at 08:00, Trev <span dir="ltr"><<a href="mailto:trevor@onepost.net" target="_blank">trevor@onepost.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<br><div><br></div><div>  4.2.4 on Debian</div><div><br></div><div>  Created a scrip that calls a custom template to create a ticket in a queue when another ticket is created. Seems easy enough, but I am having a little bit of difficulty implementing it.</div><div><br></div><div>  So this is applied to a queue that I am opening tickets selecting... no 'auto tickets' are creating. </div><div><br></div><div>  What am I doing wrong or missing?</div><div><br></div><div>  Thanks!</div><div><br></div><div>  The Scrip:</div><div><ul><li>Description: New User - Auto Create Tickets</li><li>Condition:    On Create</li><li>Action:        User Defined (I've toggled this back and forth from Open Tickets to User Defined)</li><li>Template:    New User - Tickets</li><li>The 3 boxes below are EMPTY (custom conditions, prep and action...)</li></ul><div><br></div></div><div>  The Template:</div><div><ul><li>Name:         New User - Tickets</li><li>Description:  </li><li>Type:          Perl (default)</li></ul></div><div><br></div><div><div>===Create-Ticket: IT Security Modifications</div><div>Queue           => 14</div><div>Subject: Access for {$Tickets{'TOP'}->Subject()}</div><div>Owner: {$Tickets{'TOP'}->Owner()}</div><div>Depended-On-By: {$Tickets{'TOP'}->Id()} </div><div>Content: Please attach approved changes for further approvals and implementation.</div><div>ENDOFCONTENT</div></div><div><br></div><div><br></div><div><br></div><div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>