Hello!
I have been struggling with this problem for a long time now, getting poor response. I wonder if it is possible at all. When the user selects a type, the queues I want to associate with that type should be presented.
In the customer create ticket, I have managed to hide all queues removing everything in properties like this:
$Self->{TicketAcl}->{'ACL-hide-queues'} = {
Properties => {
//Empty
},
# hide the queues's for types
PossibleNot => {Ticket => { Queue =>
['[RegExp]^*'] },
},
};
Then, when the user selects a type, the queues I want to associate with that type should be presented. But I cannot present the queues I would like to after the type is selected. Below is the code where I'm trying to get this to work, without success. If I remove the row I have marked with "#This has no effect", the queue is always visible. Hence, I assume that the problem is with the matching properties in some way.
$Self->{TicketAcl}->{'ACL-show-change-queu-for-rfc'} = {
Properties => {Frontend => {Action => ['CustomerTicketMessage']},
Type => { Name => ['RfC'],}, #This has no effect
},
Possible => { Ticket => {
Queue => ['Change Queue Several Nines']
},
},
};
I have also tried removing "Frontend => {Action => ['CustomerTicketMessage']},". Also, I tried "Ticket" instead of "Type".
Is this possible at all and if it is, then how? If not, don't hesitate if you feel like explaining why.
Thanks!