Re: [rt-users] Auto Create Ticket Scrip

2015-01-10 Thread Alex Peters
A "user-defined" action will do nothing if the corresponding "custom action
code" boxes are empty.  (That should probably actually trigger an error.)

Setting your scrip's action to "Create Tickets" should have your scrip
working as expected.

You can also use queue names in create-ticket templates if you'd prefer the
template to be a little more self-explanatory.

On 11 January 2015 at 08:00, Trev  wrote:

> Hi all,
>
>   4.2.4 on Debian
>
>   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.
>
>   So this is applied to a queue that I am opening tickets selecting... no
> 'auto tickets' are creating.
>
>   What am I doing wrong or missing?
>
>   Thanks!
>
>   The Scrip:
>
>- Description: New User - Auto Create Tickets
>- Condition:On Create
>- Action:User Defined (I've toggled this back and forth from
>Open Tickets to User Defined)
>- Template:New User - Tickets
>- The 3 boxes below are EMPTY (custom conditions, prep and action...)
>
>
>   The Template:
>
>- Name: New User - Tickets
>- Description:
>- Type:  Perl (default)
>
>
> ===Create-Ticket: IT Security Modifications
> Queue   => 14
> Subject: Access for {$Tickets{'TOP'}->Subject()}
> Owner: {$Tickets{'TOP'}->Owner()}
> Depended-On-By: {$Tickets{'TOP'}->Id()}
> Content: Please attach approved changes for further approvals and
> implementation.
> ENDOFCONTENT
>
>
>
>
>


[rt-users] Auto Create Ticket Scrip

2015-01-10 Thread Trev
Hi all,

  4.2.4 on Debian

  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.

  So this is applied to a queue that I am opening tickets selecting... no
'auto tickets' are creating.

  What am I doing wrong or missing?

  Thanks!

  The Scrip:

   - Description: New User - Auto Create Tickets
   - Condition:On Create
   - Action:User Defined (I've toggled this back and forth from
   Open Tickets to User Defined)
   - Template:New User - Tickets
   - The 3 boxes below are EMPTY (custom conditions, prep and action...)


  The Template:

   - Name: New User - Tickets
   - Description:
   - Type:  Perl (default)


===Create-Ticket: IT Security Modifications
Queue   => 14
Subject: Access for {$Tickets{'TOP'}->Subject()}
Owner: {$Tickets{'TOP'}->Owner()}
Depended-On-By: {$Tickets{'TOP'}->Id()}
Content: Please attach approved changes for further approvals and
implementation.
ENDOFCONTENT