Changing default new ticket queue

Perhaps this can make it into the next rt3 release? I believe it’s
preferable to keep configurations in RT_SiteConfig.pm instead of editting
files that may be replaced during a future upgrade.

In RT_SiteConfig.pm I have:

id of default “new ticket in” queue

Set($DefaultNewQueue, 1);

and in Elements/SelectNewTicketQueue I have:

<%ARGS>
$Name => ‘Queue’
$Verbose => undef
$Default => $RT::DefaultNewQueue
</%ARGS>

matthew zeier | “Nothing in life is to be feared.
InteleNet Communications, Inc. | It is only to be understood.”
(949) 784-7904 | - Marie Curie

In RT_SiteConfig.pm I have:

id of default “new ticket in” queue

Set($DefaultNewQueue, 1);

This should be by name, not number. Numbers generally shouldn’t be
visible.

-R

How SelectNewElements works is kind of irrelevant… I’m believe the
configuration file should contain it by name.

(even though the name is more likely to change than a number.)

-R

At Thu, 24 Jul 2003 10:59:59 -0700,
matthew zeier wrote:

Is that how the code in SelectNewElements works? I thought it was the Queue
id, not the verbal name.

I know the numerical value works (I used 13 in my case for “Incoming”
queue).

mysql> select id, Name from Queues where id = 13;
| id | Name |
| 13 | Incoming |----- Original Message -----
From: “Robert Spier” rspier@pobox.com
To: “matthew zeier” mrz@intelenet.net
Cc: rt-devel@lists.fsck.com
Sent: Thursday, July 24, 2003 10:52 AM
Subject: Re: [rt-devel] changing default new ticket queue

In RT_SiteConfig.pm I have:

id of default “new ticket in” queue

Set($DefaultNewQueue, 1);

This should be by name, not number. Numbers generally shouldn’t be
visible.

-R


rt-devel mailing list
rt-devel@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-devel

I see what you’re saying and agree. I’ll leave that code change to higher
powers since I’m not yet clear on how I would go about doing that.From: “Robert Spier” rspier@pobox.com
To: “matthew zeier” mrz@intelenet.net
Cc: rt-devel@lists.fsck.com
Sent: Thursday, July 24, 2003 11:02 AM
Subject: Re: [rt-devel] changing default new ticket queue

How SelectNewElements works is kind of irrelevant… I’m believe the
configuration file should contain it by name.

(even though the name is more likely to change than a number.)

-R

At Thu, 24 Jul 2003 10:59:59 -0700,
matthew zeier wrote:

Is that how the code in SelectNewElements works? I thought it was the
Queue
id, not the verbal name.