[rt-users] Custom status and page action menu?

Patrick G. Stoesser lists at pgs-info.de
Sun Mar 24 12:48:50 EDT 2013


Thanks everybody. Last night, I had to reboot the machine, and since 
then, it works.

Thomas, the return action is only wanted when tickets are new and open, 
that's right, and so I tested.

I don't have a clue why it didn't work an now works. A possoble answer 
could be that I could have forgotten to do an "update-rt-siteconfig-4", 
but this is only an idea.

After all, one can say that custom statuses work as described in the 
wiki including menu.

Kind regards, Patrick


Am 22.03.2013 15:55, schrieb Patrick G. Stoesser:
> Hello there,
>
> I'm running RT4 on Debian Squeeze, everything fine so far.
>
> I have set up a custom status, according to
> <http://requesttracker.wikia.com/wiki/CustomStatusesInRt4>. Works fine
> also.
>
> I run two queues, Level1 and Level2. My Level2 users now have a custom
> status "returned". When chosing this status for a ticket, the ticket
> will change the queue to Level1, will be set to unowned and escalations
> will be reste to the beginning. This whole thing works fine.
>
> What does not work: The action (set the ticket's status to returned)
> does not show up at the page action menu (quicklinks depending on the
> current ticket's status like Reply Comment Forward Stall Resolve Reject
> Extract Article.
>
> My cumstom section:
>
> #Custom Status
> Set(%Lifecycles,
>      default => {
>          initial         => [ 'new' ],
>          active          => [ 'open', 'stalled', 'returned' ],
>          inactive        => [ 'resolved', 'rejected', 'deleted' ],
>          defaults => {
>              on_create => 'new',
>              on_merge  => 'resolved',
>              approved  => 'open',
>              denied    => 'rejected',
>              reminder_on_open     => 'open',
>              reminder_on_resolve  => 'resolved',
>          },
>
>          transitions => {
>              ''       => [qw(new open resolved)],
>
>              # from   => [ to list ],
>              new      => [qw(open stalled returned resolved rejected
> deleted)],
>              open     => [qw(new stalled returned resolved rejected
> deleted)],
>              stalled  => [qw(new open rejected returned resolved deleted)],
>              returned => [qw(new open stalled rejected deleted)],
>              resolved => [qw(new open stalled rejected deleted)],
>              rejected => [qw(new open stalled returned resolved deleted)],
>              deleted  => [qw(new open stalled rejected resolved)],
>          },
>          rights => {
>              '* -> deleted'  => 'DeleteTicket',
>              '* -> *'        => 'ModifyTicket',
>          },
>
>          actions => [
>              'new -> open'      => {
>                  label  => 'Open It', # loc
>                  update => 'Respond',
>              },
>              'new -> resolved'  => {
>                  label  => 'Resolve', # loc
>                  update => 'Comment',
>              },
>              'new -> rejected'  => {
>                  label  => 'Reject', # loc
>                  update => 'Respond',
>              },
>              'new -> deleted'   => {
>                  label  => 'Delete', # loc
>              },
>              'new -> returned'   => {
>                  label  => 'Return', # loc
>              },
>              'open -> stalled'  => {
>                  label  => 'Stall', # loc
>                  update => 'Comment',
>              },
>              'open -> resolved' => {
>                  label  => 'Resolve', # loc
>                  update => 'Comment',
>              },
>              'open -> rejected' => {
>                  label  => 'Reject', # loc
>                  update => 'Respond',
>              },
>              'open -> returned'   => {
>                  label  => 'Return', # loc
>              },
>              'stalled -> open'  => {
>                  label  => 'Open It', # loc
>              },
>              'resolved -> open' => {
>                  label  => 'Re-open', # loc
>                  update => 'Comment',
>              },
>              'rejected -> open' => {
>                  label  => 'Re-open', # loc
>                  update => 'Comment',
>              },
>              'deleted -> open'  => {
>                  label  => 'Undelete', # loc
>              },
>          ],
>      },
>
>
> Any ideas anyone?
>
> Thanks in advance and kind regards, Patrick
>




More information about the rt-users mailing list