Re: [rt-users] round-robin auto assignment?

2015-10-27 Thread Asif Iqbal
On Sat, Oct 24, 2015 at 12:44 AM, Asif Iqbal wrote: > > > On Fri, Oct 23, 2015 at 2:28 AM, Christian Loos > wrote: > >> Am 22.10.2015 um 22:21 schrieb Asif Iqbal: >> > # get the user list from the file >> > # this file has the list of users who will be

Re: [rt-users] round-robin auto assignment?

2015-10-27 Thread Christian Loos
Am 27.10.2015 um 16:57 schrieb Asif Iqbal: > anyone added a logic to not auto assign the ticket if it is created > during holiday or weekends? > > We are using Lifecycles to implement Due date based on business hours > using the SLA extension. But not sure how auto assign can take advantage > of

Re: [rt-users] round-robin auto assignment?

2015-10-23 Thread Asif Iqbal
On Fri, Oct 23, 2015 at 2:28 AM, Christian Loos wrote: > Am 22.10.2015 um 22:21 schrieb Asif Iqbal: > > # get the user list from the file > > # this file has the list of users who will be assigned as owner in > > round-robin > > # you could have another logic external that

Re: [rt-users] round-robin auto assignment?

2015-10-23 Thread Christian Loos
Am 22.10.2015 um 22:21 schrieb Asif Iqbal: > # get the user list from the file > # this file has the list of users who will be assigned as owner in > round-robin > # you could have another logic external that could update this file to > get the > # generate the list of owners > my $file =

Re: [rt-users] round-robin auto assignment?

2015-10-22 Thread Asif Iqbal
On Thu, Oct 22, 2015 at 11:12 AM, Asif Iqbal wrote: > > > On Fri, Apr 12, 2013 at 2:22 PM, Thomas Sibley > wrote: > >> On 04/12/2013 11:06 AM, Doug Eubanks wrote: >> > I apologize, but Perl isn't my strong suit. :D >> > >> > Changing those three lines

Re: [rt-users] round-robin auto assignment?

2015-10-22 Thread Asif Iqbal
On Fri, Apr 12, 2013 at 2:22 PM, Thomas Sibley wrote: > On 04/12/2013 11:06 AM, Doug Eubanks wrote: > > I apologize, but Perl isn't my strong suit. :D > > > > Changing those three lines still compiles and updates the scrip, but it > > doesn't do anything and never

Re: [rt-users] round-robin auto assignment?

2013-04-12 Thread Doug Eubanks
Sorry to dig an old thread up, but I'm looking at this URL: http://www.gossamer-threads.com/lists/rt/users/39136 This scrip works, but seems to always pick a random user from the list, it appears that's not matching on one of these two lines: foreach $i ( @owners) { if ($owners[$i] ==

Re: [rt-users] round-robin auto assignment?

2013-04-12 Thread Thomas Sibley
On 04/12/2013 08:20 AM, Doug Eubanks wrote: foreach $i ( @owners) { if ($owners[$i] == $last_owner) { $new_owner = $owners[$i+1]; The above makes no sense, likely written by someone who doesn't know Perl. For loops don't loop over array indexes when just given an array, they loop

Re: [rt-users] round-robin auto assignment?

2013-04-12 Thread Doug Eubanks
I apologize, but Perl isn't my strong suit. :D Changing those three lines still compiles and updates the scrip, but it doesn't do anything and never assigns the ticket to anyone now. Doug Sincerely, Doug Eubanks ad...@dougware.net K1DUG (919) 201-8750 On Fri, Apr 12, 2013 at 1:18 PM, Thomas

Re: [rt-users] round-robin auto assignment?

2013-04-12 Thread Thomas Sibley
On 04/12/2013 11:06 AM, Doug Eubanks wrote: I apologize, but Perl isn't my strong suit. :D Changing those three lines still compiles and updates the scrip, but it doesn't do anything and never assigns the ticket to anyone now. Oh, I see, the previous code was trying to set the owner as the