[rt-users] round-robin auto assignment?
matthew zeier
mrz at intelenet.net
Tue Dec 28 17:46:53 EST 2004
>>
>> How do I refer to the current ticket?
>> if (!($isSet)) {
>> $Ticket->SetOwner[int(rand($#owners))];
>> }
>>
>
> You have to iterate the collection of tickets.
>
> while ( my $Ticket = $tickets->Next ) {
> ...
> }
Why? You mean I have to re-search the queue to find the ticket I'm in the
midst of creating?
That's seems like a horribly complicated method to get the current ticket's
object.
More information about the rt-users
mailing list