I am trying to use a custom generic agent job to move tickets from the Queues they are created in to the appropriate queue for the technician. The match criteria must meet Queue, Service, and State. Right now the Queue is the only one that is matching, I need to have the selected Service be the final match for the destination queue. Any suggestions to what I am missing? here's one of the jobs -
# [name of job] -> Move tickets to Network Queue
# --
'Move tickets to Network Queue' => {
# get all tickets with these properties
Queue => ['Operations'],
Service => ['Facilities::ISP', 'Facilities::Equipment', 'Facilities::Network', 'Platform::Live Monitoring'],
States => ['new', 'open'],
# new ticket properties (no option is required,
# use just the options which should be changed!)
New => {
# new queue
Queue => 'Network Queue',
Add Service as property for Generic Agent
Moderator: crythias
Re:[SOLVED] Add Service as property for Generic Agent
Anyone that may stumble across this looking for an answer to sort tickets using Services with the Generic Agent may find this useful. The key is that when searching the tickets "Service" is not returned, however "ServiceIDs" are returned. Just look at the IDs in the "Service" database and use the ID as the search parameters. Example:
# --
# [name of job] -> Move tickets to Network Queue
# --
'Move tickets to Network Queue' => {
# get all tickets with these properties
Queue => ['Operations'],
#Service => ['Facilities::ISP', 'Facilities::Equipment', 'Facilities::Network', 'Platform::Live Monitoring'],
ServiceIDs => ['22', '23', '24'],
States => ['new', 'open'],
# new ticket properties (no option is required,
# use just the options which should be changed!)
New => {
# new queue
Queue => 'Network Queue',
},
},
# --
# [name of job] -> Move tickets to Network Queue
# --
'Move tickets to Network Queue' => {
# get all tickets with these properties
Queue => ['Operations'],
#Service => ['Facilities::ISP', 'Facilities::Equipment', 'Facilities::Network', 'Platform::Live Monitoring'],
ServiceIDs => ['22', '23', '24'],
States => ['new', 'open'],
# new ticket properties (no option is required,
# use just the options which should be changed!)
New => {
# new queue
Queue => 'Network Queue',
},
},