Create a ticket without the owner nobody

Hello everybody,

Actually we run a rt 3.8 system

I’m looking for a solution if someone creates an ticket that the user can’t
set the owner nobody

Is it possible ?

best regards john

View this message in context: http://old.nabble.com/create-a-ticket-without-the-owner-nobody-tp32160199p32160199.html

Hello everybody,

Actually we run a rt 3.8 system

I’m looking for a solution if someone creates an ticket that the user can’t
set the owner nobody or any other name only the username should work.

Is it possible ?

best regards john

View this message in context: http://old.nabble.com/create-a-ticket-without-the-owner-nobody-tp32160227p32160227.html

Hello everybody,

Actually we run a rt 3.8 system

I’m looking for a solution if someone creates an ticket that the user can’t
set the owner nobody or any other name only the username should work.

Is it possible ?

best regards john

View this message in context: http://old.nabble.com/create-a-ticket-without-the-owner-nobody-tp32160426p32160426.html

Hello everybody,

Actually we run a rt 3.8 system

I’m looking for a solution if someone creates an ticket that the user can’t
set the owner nobody or any other name only the username should work.

Is it possible ?

best regards john

View this message in context: http://old.nabble.com/create-a-ticket-without-the-owner-nobody-tp32160601p32160601.html

You might want to try this: http://www.gossamer-threads.com/lists/rt/users/99441 or below (same):

Condition: On Create
Action: User Defined
Template: Global template: Blank
Stage: TransactionCreate

Custom condition:
my $trans = $self->TransactionObj;

return ($trans->Type eq “Status” &&
$trans->NewValue eq “open”);

Custom action prep code:
my $ticket = $self->TicketObj;
my $trans = $self->TransactionObj;
my $owner_id = $trans->CreatorObj->PrincipalId;

if ($ticket->OwnerObj->Name() eq ‘Nobody’ )
{
$ticket->SetOwner($owner_id, ‘Force’);
}

return 1;

Cleanup:
return 1;

Works for me - Auto assigns a ticket to the creating user when the ticket is created, and assigns to current user when opened and owner = nobody.

Not sure if this is what you’re going for, but it’s helped keep my guys on track. If you want to completely remove ‘Nobody’ from the owner group list… Not sure if that can be done - You could default everything to a specific user instead of ‘Nobody’; that’s essentially the same thing as ‘Nobody’ though.

Hope this helps!

Kris Germann
Fibernetics Corporation-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of john s.
Sent: July-29-11 8:16 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] create a ticket without the owner nobody

Hello everybody,

Actually we run a rt 3.8 system

I’m looking for a solution if someone creates an ticket that the user can’t set the owner nobody or any other name only the username should work.

Is it possible ?

best regards john

View this message in context: http://old.nabble.com/create-a-ticket-without-the-owner-nobody-tp32160601p32160601.html

2011 Training: http://bestpractical.com/services/training.html