this may be a bit of a Perl question and I'd need more Perl knowledge, maybe you have a hint or an idea, if this would be possible at all.
I managed to filter the service list depending on the chosen Queue. Basically, this needs some code in the Config.pm. What's simply happening in the following code is:
IF a Queue-Name starts with "Office" THEN only show Services starting with "Office".
Code: Select all
$Self->{TicketAcl}->{'ACL-Name-1'} = {
# match properties
Properties => {
Queue => {
Name => ['[RegExp]^Office'],
},
},
# return possible options (white list)
Possible => {
# possible ticket options (white list)
Ticket => {
Service => ['[RegExp]^Office'],
},
},
};
TIA
Michael