[rt-users] Auto Create Ticket Scrip
Alex Peters
alex at peters.net
Sat Jan 10 19:51:54 EST 2015
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 <trevor at onepost.net> 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
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20150111/15cb2d8b/attachment.htm>
More information about the rt-users
mailing list