Re: [rt-users] No __TimeLeft__ value in search result

2014-02-21 Thread Kevin Falcone
On Tue, Feb 18, 2014 at 10:10:02PM +0200, Andrius Kulbis wrote:
 2014-02-18 19:48, Alex Vandiver rašė:
 On Tue, 2014-02-18 at 04:10 -0800, andkulb wrote:
 This is the time values for the ticket:
 Created:Tue Feb 18 13:28:25 2014
 Starts: Tue Feb 18 13:28:25 2014
 Started:Tue Feb 18 13:28:25 2014
 Last Contact:   Tue Feb 18 13:30:25 2014
 Due:Wed Feb 19 00:00:00 2014
 
 Still, the __TimeLeft__ field is always blank. What is the problem?
 TimeLeft is not a computed value between starts and due.  It is a
 count of your estimate of the minutes/hours of work remaining on the
 ticket, which can be updated from the Basics page of the ticket.
 
 Is it possible to calculate the fields format fields?

Anything is possible.  There are callbacks in RT__Ticket/ColumnMap
that allow you to either override __TimeLeft__ to calculate things or
to add your own new code that does date math.

-kevin


pgpDaG7fVGXc7.pgp
Description: PGP signature
-- 
RT Training London, March 19-20 and Dallas May 20-21
http://bestpractical.com/training

Re: [rt-users] No __TimeLeft__ value in search result

2014-02-18 Thread Alex Vandiver
On Tue, 2014-02-18 at 04:10 -0800, andkulb wrote:
 This is the time values for the ticket: 
 Created:  Tue Feb 18 13:28:25 2014 
 Starts:   Tue Feb 18 13:28:25 2014 
 Started:  Tue Feb 18 13:28:25 2014 
 Last Contact: Tue Feb 18 13:30:25 2014 
 Due:  Wed Feb 19 00:00:00 2014
 
 Still, the __TimeLeft__ field is always blank. What is the problem?

TimeLeft is not a computed value between starts and due.  It is a
count of your estimate of the minutes/hours of work remaining on the
ticket, which can be updated from the Basics page of the ticket.
 - Alex

-- 
RT Training London, March 19-20 and Dallas May 20-21
http://bestpractical.com/training


Re: [rt-users] No __TimeLeft__ value in search result

2014-02-18 Thread Andrius Kulbis

Is it possible to calculate the fields format fields?

2014-02-18 19:48, Alex Vandiver rašė:

On Tue, 2014-02-18 at 04:10 -0800, andkulb wrote:

This is the time values for the ticket:
Created:Tue Feb 18 13:28:25 2014
Starts: Tue Feb 18 13:28:25 2014
Started:Tue Feb 18 13:28:25 2014
Last Contact:   Tue Feb 18 13:30:25 2014
Due:Wed Feb 19 00:00:00 2014

Still, the __TimeLeft__ field is always blank. What is the problem?

TimeLeft is not a computed value between starts and due.  It is a
count of your estimate of the minutes/hours of work remaining on the
ticket, which can be updated from the Basics page of the ticket.
  - Alex




--
RT Training London, March 19-20 and Dallas May 20-21
http://bestpractical.com/training