[rt-users] Setting a default owner on a per queue basis
Jonas Lincoln
lincoln at unit.liu.se
Fri May 23 08:08:46 EDT 2003
In share/html/Ticket/Create.html, find the row:
<& /Elements/SelectOwner, Name => "Owner", QueueObj => $QueueObj,
Default => $ARGS{Owner}||undef &>
Replace with
% if ($QueueObj->Name eq 'TheQueue) {
<& /Elements/SelectOwner, Name => "Owner", QueueObj => $QueueObj,
Default => $ARGS{Owner}||"Id for the default queue-user" &>
% } else {
<& /Elements/SelectOwner, Name => "Owner", QueueObj => $QueueObj,
Default => $ARGS{Owner}||undef &>
% }
Replace string where appropriate.
Save as local/html/Ticket/Create.html
Cheers,
Jonas
Ron Alexander wrote:
> The default action in RT is to set the default owner to
> $session{CurrentUser}. This is fine except in one of my queues there
> will be one owner 99% of the time and they almost never fill out the
> ticket. What is an easy way to change the default owner of a ticket in
> the Create.html page? I don't want a scrip because I want this to occur
> in the template, not an action after the form is submitted.
>
> Thanks,
> Ron
More information about the rt-users
mailing list