Re: [rt-users] Scrip to unown and change queue so we can keep all queues hidden?

2010-05-13 Thread Kenneth Crocker
Mike, Try something like this: # Custom Condition: my $trans = $self->TransactionObj; my $ticket = $self->TicketObj; # Check the CF for the changed value if ($trans->Type eq 'CustomField') { my $cf = new RT::CustomField($RT::SystemUser); $cf->LoadByName(Queue => $ticket->QueueOb

Re: [rt-users] Scrip to unown and change queue so we can keep all queues hidden?

2010-05-13 Thread Gene LeDuc
Hi Mike, I haven't done this, but it sounds pretty straightforward using a scrip. Have a custom field with 2 possible values, "blank" and "disown". Your scrip uses a custom condition that triggers when that field changes to "disown". You have the custom action do the owner change (to nobody

[rt-users] Scrip to unown and change queue so we can keep all queues hidden?

2010-05-13 Thread Mike Johnson
Hi everyone, I'm curious if anyone has ventured out to build a scrip that would unown a ticket, and reassign to another queue based on a custom field value. Basically what I was looking for was the ability to hide all other queues from a group of support staff. But when they get a ticket that