[rt-users] No __TimeLeft__ value in search result
Kevin Falcone
falcone at bestpractical.com
Fri Feb 21 12:15:07 EST 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140221/9c203385/attachment.sig>
More information about the rt-users
mailing list