[rt-users] RT4 Custom status transitions

Thomas Sibley trs at bestpractical.com
Mon Feb 27 09:44:12 EST 2012


On 02/27/2012 09:17 AM, Lieven Bridts wrote:
> Did I make some kind of typo? Something else? Thanks for looking in to it.

There's a Perl syntax error in your config, unfortunately.

>         transitions => {
>             ''       => [qw(new open resolved wait-ok)],
>             # from   => [ to list ],
>             new      => [qw(open stalled resolved rejected deleted
> wait-ok)],
>             open     => [qw(new stalled resolved rejected deleted wait-ok)],
>             stalled  => [qw(open rejected resolved deleted wait-ok)],
>             resolved => [qw(open stalled rejected deleted wait-ok)],
>             rejected => [qw(open stalled resolved deleted wait-ok)],
>             deleted  => [qw(open stalled rejected resolved wait-ok)],
>             wait-ok  => [qw(open stalled rejected deleted resolved)],

wait-ok needs to be quoted on the left hand side because it contains a
hyphen.  If it was just bare alphanumeric like the others, you wouldn't
need to quote it.

             'wait-ok'  => [qw(open stalled rejected deleted resolved)],

should fix your problem.

>         },



More information about the rt-users mailing list