Patch #3245

Roadmap - show Estimated Time and Spent Time

Added by Anonymous over 13 years ago. Updated almost 5 years ago.

Status:NewStart date:2009-04-27
Priority:NormalDue date:
Assignee:-% Done:


Target version:-


I have edited the versions/show.rhtml page, so that it shows the Estimated Time and the Spent Time for each ticket in the Version. This diff is done on the Trunk.

I would appreciate, if this would be a standard feature.

show.patch Magnifier (1009 Bytes) Anonymous, 2009-04-27 13:34

Related issues

Related to Redmine - Feature #371: Show time tracking in the changelog/roadmap New


#1 Updated by Hans Kazan over 13 years ago

Markus May wrote:

I would appreciate, if this would be a standard feature.

I like this feature very much, a +1 for including this one into the main development branch if possible.

#2 Updated by Adam Piotr ┼╗ochowski over 13 years ago

I would recommend one minor change. That is, do not display if there is nothing to display.

Often I do not have hours specified, so now I see a lot of ( 0 / 0 ). Instead of that, it would be best to skip it altogether.

something along the lines of having additional if statement, that checks if there is anything to display, or just zeroes:

...<% if (issue.estimated_hours != nil && issue.estimated_hours > 0) || ( issue.spent_hours > 0 ) %>
   <% if (issue.estimated_hours != nil && issue.estimated_hours > 0)%>
      <%= issue.estimated_hours %>
   <% else %>
   <% end %> 
   <% if issue.spent_hours > 0 %>
      <%= issue.spent_hours %>
   <% else %>
   <% end %>)

Kind regards

#3 Updated by Jamie McClelland over 13 years ago

This is a great patch - thanks for the contribution.

Is there anyway to get it to work for the roadmap? When I apply the patch, I see the estimated/actual hours by clicking on a given version link (which shows one link by itself), but not when showing all the versions together on the roadmap page.


#4 Updated by Anonymous over 13 years ago

The data for the Amount of time is available on the Roadmap Detail Page anyway, and therefor I put the data only there.

#6 Updated by Go MAEDA almost 5 years ago

  • Category set to Roadmap

Also available in: Atom PDF