Changing Time Fields to Days

The modify ticket portal of the Metadata provides three fields that offer the selection of Minutes or Hours.

  •     Time Estimated
    
  •     Time Worked
    
  •     Time Left
    

Our development cycle is often days. How can I add the option Days to this pull down selection list?

[ARC]http://www.arcproductions.com/

Ray Corbett Technology Projects Manager

p: 416.682.5200 x5232 | f: 416.682.5209
Arc Productions Ltd. | 230 Richmond Street East | Toronto, ON M5A 1P4
www.arcproductions.comhttp://www.arcproductions.com

The modify ticket portal of the Metadata provides three fields that offer the selection of
Minutes or Hours.

. Time Estimated
. Time Worked
. Time Left

Our development cycle is often days. How can I add the option Days to this pull down
selection list?

The easy part is teaching Elements/EditTimeValue and
Elements/SelectTimeUnits how to list Days in that dropdown.

The fun part will be teaching the PreprocessTimeUpdates code in
RT::Interface::Web how to handle it and the render code and tweaking
the user preference to show days also.

This is probably easier to do as a patch you try to convince core to
take than a standalone extension.

-kevin

Kevin,

Would the reports from searches report in minutes or days? What about 1/2
days, etc?

KennOn Mon, Mar 11, 2013 at 11:40 AM, Kevin Falcone falcone@bestpractical.comwrote:

On Fri, Mar 08, 2013 at 03:20:00PM +0000, Raymond Corbett wrote:

The modify ticket portal of the Metadata provides three fields that
offer the selection of
Minutes or Hours.

. Time Estimated
. Time Worked
. Time Left

Our development cycle is often days. How can I add the option Days
to this pull down
selection list?

The easy part is teaching Elements/EditTimeValue and
Elements/SelectTimeUnits how to list Days in that dropdown.

The fun part will be teaching the PreprocessTimeUpdates code in
RT::Interface::Web how to handle it and the render code and tweaking
the user preference to show days also.

This is probably easier to do as a patch you try to convince core to
take than a standalone extension.

-kevin


RT training in Amsterdam, March 20-21:
http://bestpractical.com/services/training.html

Help improve RT by taking our user survey:
https://www.surveymonkey.com/s/N23JW9T

Would the reports from searches report in minutes or days? What about 1/2 days, etc?

Automatically? None of that would happen. All of this requires code
and I stopped digging after looking at the complexity of merely
editing in days.

-kevin> On Mon, Mar 11, 2013 at 11:40 AM, Kevin Falcone <[1]falcone@bestpractical.com> wrote:

 On Fri, Mar 08, 2013 at 03:20:00PM +0000, Raymond Corbett wrote:
 > The modify ticket portal of the Metadata provides three fields that offer the selection of
 > Minutes or Hours.
 >
 > . Time Estimated
 > . Time Worked
 > . Time Left
 >
 > Our development cycle is often days. How can I add the option Days to this pull down
 > selection list?

 The easy part is teaching Elements/EditTimeValue and
 Elements/SelectTimeUnits how to list Days in that dropdown.

 The fun part will be teaching the PreprocessTimeUpdates code in
 RT::Interface::Web how to handle it and the render code and tweaking
 the user preference to show days also.

 This is probably easier to do as a patch you try to convince core to
 take than a standalone extension.