Customer -> New Ticket, filter queue based on ticket type

Hello! In the Customer Web -> New Ticket I want the queues to be filtered based on what ticket type the customer has selected. I have managed to get the similar thing to work where the service list is filtered based on what queue the customer chose, but this on I stay without luck so far. Here is my ACL: ---------------- # Filter Queues $Self->{TicketAcl}->{'ACL-Customer-Ticket-9'} = { Properties => {Frontend => {Action => ['CustomerTicketMessage']}, }, # hide the queues's for types PossibleNot => {Queue => ['[RegExp]::','[RegExp]^*'] } }; $Self->{TicketAcl}->{'ACL-Name-10'} = { # match properties Properties => {Frontend => {Action => ['CustomerTicketMessage']}, # current ticket match properties Ticket => { Type => ['RfC'] }, }, Possible => { Queue => ['[RegExp]^Change Queue Several Nines'] }, }; ---------------- The queues are never hidden and not filtered after ticket type has been chosen. Please advice. Thanks in advance! Regards, Niklas

On Fri, Jun 3, 2011 at 8:10 PM,
Hello! In the Customer Web -> New Ticket I want the queues to be filtered based on what ticket type the customer has selected. I have managed to get the similar thing to work where the service list is filtered based on what queue the customer chose, but this on I stay without luck so far. Here is my ACL: ---------------- # Filter Queues $Self->{TicketAcl}->{'ACL-Customer-Ticket-9'} = { Properties => {Frontend => {Action => ['CustomerTicketMessage']}, }, # hide the queues's for types PossibleNot => {Queue => ['[RegExp]::','[RegExp]^*'] } }; $Self->{TicketAcl}->{'ACL-Name-10'} = { # match properties Properties => {Frontend => {Action => ['CustomerTicketMessage']}, # current ticket match properties Ticket => { Type => ['RfC'] }, }, Possible => { Queue => ['[RegExp]^Change Queue Several Nines'] }, }; ---------------- The queues are never hidden and not filtered after ticket type has been chosen. Please advice. Thanks in advance! Regards, Niklas
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Hi, Use: Properties => { # current ticket match properties Type => { Name => ['RfC'], }, }, Ticket does not exists yet, so Ticket => { Type => ['RfC'] } is undefined. The next example hides all SLAs for RfC. # ticket acl $Self->{TicketAcl}->{'No-SLA-For-Rfc'} = { Properties => { Type => { Name => ['RfC'], }, }, PossibleNot => { Ticket => { SLA => ['[RegExp].*'], }, }, },
participants (2)
-
Marius Vaitiekunas
-
niklas.johansson@knowit.se