rtjoe
July 29, 2011, 9:23am
1
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
rtjoe
July 29, 2011, 9:32am
2
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
rtjoe
July 29, 2011, 11:04am
3
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
rtjoe
July 29, 2011, 12:15pm
4
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: Carbon60: Cloud Consulting - Services and Solutions 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