CF type for dates or timestamps

It would be Really Nice™ to have a “timestamp” or “date” type for
custom fields that allowed the same comparison operations as RT’s
built-in date fields (Created, Resolved, Updated, &etc) and translated
(as the builtins do) to/from human-parseable entry and display. Is this
on the roadmap anywhere in RT’s future?

Reasons I want such a thing:
* I need to do end-of-day, end-of-week, end-of-month, and
end-of-quarter ticket counts that show how many tickets were
created or resolved within the specified period, as well as a
count of how many unresolved tickets were in each state as of
the cutoff. I can do this with saved searches after a fashion,
but I’m getting flak from management because the numbers don’t
add up (i.e. they’re not amenable to double-entry accounting.)
If a customer opens a ticket on Monday and we mark it resolved
on Tuesday, and then on Wednesday the customer reopens it, the
end-of-day counts on Wednesday will show an extra ticket – in
other words, Wednesday’s EOD open total should be equal to
Tuesday’s EOD plus the number of new tickets created on
Wednesday and minus the number of tickets resolved on Wednesday,
but instead it shows one over because of the reopened ticket
(which wasn’t Created on Wednesday so it doesn’t show up as a
new ticket.) If I could auto-set a CF with a timestamp whenever
a ticket moves from a resolved state to an open state, I could
simply add a column in my report for “reopened today” and the
numbers would line up.
* It would allow me (in conjunction with bin/rt or crontool) to
implement a “stalled until” field where I could automatically
un-stall a stalled ticket after a certain amount of time has
passed.

Thoughts?
	Ole

/Ole Craig
Security Engineer
Team lead, customer support

ocraig@stillsecure.com
303-381-3802 main support line
303-381-3824 my voicemail
303-381-3880 fax

www.stillsecure.com

Quoting Ole Craig ocraig@stillsecure.com:

 * It would allow me (in conjunction with bin/rt or crontool) to
   implement a "stalled until" field where I could automatically
   un-stall a stalled ticket after a certain amount of time has
   passed.

Thoughts?
Ole

For the last part, we do exactly this using the ticket ‘starts’ field.
We don’t
use this field for anything else, so it’s ideal for a ‘stalled until’ date. We
have a crontool job that finds stalled tickets whose ‘stalled until’ date has
passed and reopens them.

Steve

It would be Really Nice™ to have a “timestamp” or “date” type for
custom fields that allowed the same comparison operations as RT’s
built-in date fields (Created, Resolved, Updated, &etc) and translated
(as the builtins do) to/from human-parseable entry and display. Is this
on the roadmap anywhere in RT’s future?

Not yet in RT core, but I made a patch which does this:

http://rt3.fsck.com/Ticket/Display.html?id=8721&user=guest&pass=guest

It would be Really Nice™ to have a “timestamp” or “date” type for
custom fields […]

Not yet in RT core, but I made a patch which does this:

http://rt3.fsck.com/Ticket/Display.html?id=8721&user=guest&pass=guest

You are my hero!

Thanks tons,
	Ole

/Ole Craig
Security Engineer
Team lead, customer support

ocraig@stillsecure.com
303-381-3802 main support line
303-381-3824 my voicemail
303-381-3880 fax

www.stillsecure.com