Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Devel

Ticket Search in the future with relative time

 

 

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded


simone.sanna at tinet

Sep 9, 2011, 8:13 AM

Post #1 of 2 (418 views)
Permalink
Ticket Search in the future with relative time

Hi List,
Is there any way I could search for tickets with a particular relative date
placed in the future?
I mean the following works for the relative search in the past Queue =
'Particular_Queue' AND DateCustomField > '540 min ago' while this one
seems to be accepted but does not give the expected result Queue =
'Particular_Queue' AND DateCustomField < 'now() + 3 hours' - the same
applies to - Queue = 'Particular_Queue' AND DateCustomField < 'next + 3
hours'.
Is that implemented in RT 3.8.8?

Thanks in advance for any help.

Regards,
Simone Sanna


falcone at bestpractical

Sep 9, 2011, 9:19 AM

Post #2 of 2 (399 views)
Permalink
Re: Ticket Search in the future with relative time [In reply to]

On Fri, Sep 09, 2011 at 05:13:21PM +0200, Simone Sanna wrote:
> Hi List,
> Is there any way I could search for tickets with a particular relative date placed in the
> future?
> I mean the following works for the relative search in the past Queue = 'Particular_Queue' AND
> DateCustomField > '540 min ago' while this one seems to be accepted but does not give the
> expected result Queue = 'Particular_Queue' AND DateCustomField < 'now() + 3 hours' - the same
> applies to - Queue = 'Particular_Queue' AND DateCustomField < 'next + 3 hours'.

RT uses the Time::ParseDate module to parse dates, so any syntax that
it supports will work:

https://metacpan.org/module/Time::ParseDate

-kevin

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.