[rt-users] Prevent users from Assigning Owner during ticket create?
Kenneth Crocker
KFCrocker at lbl.gov
Thu May 22 14:46:09 EDT 2008
Aaron,
I reset the owner to "Nobody" when a ticket is moved to a new queue.
Perhaps a little change to that will work for you. Here it is:
Condition: On Create
Action: User-defined
Template: Blank
Stage: TransactionBatch
#----------------------------------------------------------------------------
# Custom condition: none
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
# Custom action preparation code:
#----------------------------------------------------------------------------
return 1;
#----------------------------------------------------------------------------
# Custom action cleanup code:
#----------------------------------------------------------------------------
# set new Ticket Owner value
my $ticket = $self->TicketObj;
$ticket->SetOwner(10, 'Force');
return 1;
I hope this helps.
Kenn
LBNL
On 5/22/2008 10:48 AM, Aaron Sallade wrote:
> We have a workflow where our customers log in to RT and can create a new
> ticket in the Helpdesk Queue. Unfortunately they are currently able to
> assign an Owner during the Create process.
>
>
>
> I have not been able to find a permission that limits or allows
> assigning an owner, it seems to be granted along with the Create Ticket
> right.
>
>
>
> I have tried to write a scrip that will set the owner to Nobody, but I
> get an error in the log stating that I can only assign tickets that have
> no owner or are assigned to me.
>
>
>
> Ideas?
>
>
>
> Aaron Sallade'
> Application Manager
> PTSO of Washington
> //"Shared Technology for Community Health"///
> /(206) 613-8938 Desk
> (206) 521-8833 Main
> (206) 613-5078 Fax
> asallade at ptsowa.org <mailto:asallade at ptsowa.org>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
More information about the rt-users
mailing list