Ticket ID containing date

Hi,

I am hoping that someone will be able to point me in the right direction
here. I have searched the lists and faq with little success. I have seen an
RT queue that has assigned the request id to a number that is the current
date + a unique number for example 20030917001. Is this configuration
possible via editing the RT_SiteConfig.pm file or do I need to get my hands
a little more dirty than this? I am using v3.0.4.

If I could have a little advice on achieving this, it would be much
appreciated.

TIA
Paul

I don’t know where you’ve seen this, but there is no way to do it in
stock RT without a bunch of tweaking.

(Actually… I think it could be done fairly simply using a global
custom field and a global OnCreate Scrip… but it still requires
knowledge of the RT API.)

-R

At Wed, 17 Sep 2003 22:12:20 +0100,
Paul McEnery wrote:

Robert Spier wrote:

I don’t know where you’ve seen this, but there is no way to do it in
stock RT without a bunch of tweaking.

What about a nightly cron job that sets the DB’s autoincrement field
to “date '+%Y%m%d'000” ? (I know, bad form, going behind RT’s back
and all…)

The resultng number, whatever the mechanism, might be a little large
for the stock DB schemas, and RT itself might have issues with numbers
of that magnitude… and if you ever get more than 1000 tickets in a
day (autoresponder loop, anyone?), you could end up in strife as well.