Hi Torsten, I would create a special group to identify the possible ticket owner. So you can quickly pull someone out of the group, if he is on holiday.
Get the group member,sort them by name and put them in a list. Get the last assigned owner by get all tickets from queue, order by ticket id desc and get the first (this is the last created) ticket. Maybe instead of searching for the last assigned owner, a better (faster) approach is,to store the last assigned owner in an queue custom field like Björn suggested. Search the last owner in the list and get the next one as the owner for the new ticket. Another, maybe more 'fair' way to assign the owner would be, to check, how many active tickets each group member have and assign the new ticket to the one, with the least tickets count. Chris Am 25.06.2010 06:39, schrieb Torsten Brumm: > Hi, > today i got a request from a department, they need the following Setup: > > 1. Queue > 2. 10 possible Ticket Owners > > They like to have the ticket given to the owners automatically by a > round robin mechanism. I have no idea at the moment how to do this. Any > hints or ideas? > > Thanks > Torsten > > -- > MFG > > Torsten Brumm > > http://www.brumm.me > http://www.elektrofeld.de > > > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
