I just wanted to ask If there a possible way to connect Type to Service without using any add-ons?
My goal is when choosing the type, specific services will appear per type.

Thanks,
Moderator: crythias
Code: Select all
$Self->{TicketAcl}->{'TYPE-Queue'} = {
# match properties
Properties => { Type => { Name => ['Email'], },
},
Possible => { Queue => { Name => ['Service Desk'], },
},
};
$Self->{TicketAcl}->{'Queue-Service'} = {
# match properties
Properties => { Queue => { Name => ['Service Desk'], },
},
Possible => { Service => { Name => ['Email::'], },
},
};
just my 0,02 <place currency unit here>: some services may only be applied to certain ticket types, e.g. "Installation of Software X" to type "Service Request" orf "RfC*". So it depends on your service catalog and there are cases where service-type-restrictions are very useful if not required.crythias wrote:BTW, Type is probably not a good thing to base service on.
I don't disagree. My statement is more about where people choose "Type" to replace "Queue" for the purposes employed by "Queue".tto wrote:there are cases where service-type-restrictions are very useful if not required.
Can you teach me different approach. To connect the type to service.tto wrote:some services may only be applied to certain ticket types
Hi bro. I solve the ACL in this thread. I try to connect TYPE-QUEUE-SERVICEliuyelian wrote:The manual got queue to service. I'm beginner so I cannot learn that codes in my mind . :/
Code: Select all
$Self->{TicketAcl}->{'Store JEDS to queue&service'} = {
# match properties
Properties => {
# current action match properties
Frontend => {
Action => ['AgentTicketPhone', 'AgentTicketEmail', 'CustomerTicketMessage'],
},
# current user match properties
Ticket => {
Type => ['Stores JEDS',],
},
},
Possible => {
Ticket => {
Queue => ['JEDS'],
Service => ['-Billing',
'-Call Center PBX',
'-Connectivity Application Request',
'-Connectivity Support Isolation',
'-Infrastructure',
'-Product Database',
'-Xavier CRM',
'-PMP::PC Hardware/Software',
'-PMP::POS Hardware/Software',
],
},
},
PossibleNot => {
# possible ticket options (black list)
User => {
Role => [
'admin'
],
},
},
};