[rt-users] setting a default for New Ticket

Michele Hershey mhershey at mhpcc.edu
Thu Dec 5 13:44:14 EST 2002


The easiest way I found to do this is name the queue "1-Queue_name"...it
will be the first one in the sort order and thus the default.

Michele

Dane Rapaport wrote:

> Hi folks,
>
> Id like to be able to set a default queue for the 'New Ticket In' call
> on the main page.
>
> I traced it back to
>
> /path/to/rt2/WebRT/html/Elements/SelectNewTicketQueue
>
> and it has this content:
>
> ---
> <& SelectQueue, Name => $Name, Verbose => $Verbose, Default => $Default,
>         ShowAllQueues => 0, ShowNullOption => 0 &>
> <%ARGS>
> $Name => 'Queue'
> $Verbose => undef
> $Default => undef
> </%ARGS>
> ---
>
> When I change verbose to 1, I get extended information on the Queue
> Names ie QueueName + Description
>
> But when I change $Default to the queue I want as the default queue for
> New Ticket, nothing changes. I tried various punctuation around my
> desired 'queue'.
>
> After mucking around for a while I gave up in dis(gust|tress) and sought
> a more kludged method.
>
> As my desired default queue was actually the last queue alphabetically,
> I changed /path/to/rt2/lib/RT/Queues.pm to  ORDER => 'DES'
> so it reverses its sort order, my default queue is now at the top of the
> list and is therefore the default queue when I click 'New Ticket In'.
>
> Does anyone have any idea how to actually set a default queue for New
> Ticket that doesn't involve kludging the sort order?
>
> Was I using incorrect syntax when editing SelectNewTicketQueue?
>
> Was I looking in completely the wrong place?
>
> Thanks in advance
>
> Dane
>
> --
> Dane Rapaport
> Unix Systems Administrator and All Round Nice Guy
> Animal LOGIC, Fox Studios Australia
> www.animallogic.com
> p: +61 2 9383 4652
> m:  0414 735 922
>
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
>
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mhershey.vcf
Type: text/x-vcard
Size: 249 bytes
Desc: Card for Michele Hershey
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20021205/163cc7d9/attachment.vcf>


More information about the rt-users mailing list