Limit "Move" options based on ticket's current queue

Moderator: crythias

Locked
Rici
Znuny newbie
Posts: 17
Joined: 04 Dec 2014, 02:24
Znuny Version: OTRS 5.0.19

Limit "Move" options based on ticket's current queue

Post by Rici »

Hi all,

I've searched a bit before opening this thread but I couldn't find this topic discussed before.
I'm looking for a way to limit the available queues shown in the move dropdown based on where the ticket currently is.

For example, let's say that by convention my queues are named as follows:
1st Line BusinessUnitXY
2nd Line BusinessUnitXY
3rd Line BusinessUnitXY Network
3rd Line BusinessUnitXY Infrastructure

And of course I have several of these queues set up for different business units.
What I'm looking for is a way to limit the available options shown to an agent when moving only to queues matching BusinessUnitXY, so if a ticket is in 1st Line BusinessUnitXY an agent will only be able to move this ticket to 2nd or 3rd line support of BusinessUnitXY.

I need this because I have several agents that need to have move permissions on several (many) of these queues and the list shown when moving can potentially get too long in the long run.

My guess is that this can potentially be achieved with some ACL rules, anyone knows how a rule like this could be set up?

Thanks in advance!
OTS 5.0.19 - Ubuntu 14.04 - Apache 2.4 - MySQL 5.6
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Limit "Move" options based on ticket's current queue

Post by crythias »

ACL

docs

Below is path, not code:
Properties => Ticket => Queue => ['QueueA', 'QueueB']
Possible => Ticket => Queue => ['QueueAB', 'QueueAC', 'QueueAA']
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Rici
Znuny newbie
Posts: 17
Joined: 04 Dec 2014, 02:24
Znuny Version: OTRS 5.0.19

Re: Limit "Move" options based on ticket's current queue

Post by Rici »

Thank you very much! I'm still cutting my teeth with ACLs, this did exactly what I needed.

:D
OTS 5.0.19 - Ubuntu 14.04 - Apache 2.4 - MySQL 5.6
Locked