Patch #1671

Show a breakdown of estimated/spent/remaining time for a version

Added by Artem Vasiliev 77 days ago.

Status:New Start:2008-07-21
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:Time tracking
Target version:-

Description

It adds time metrics to Version page (click on Roadmap page, then on version link to get there).
We made it to help us plan future releases and better control in-progress ones.

What it does (see attached screenshot for example):
  • Remaining time above shows sum of issues' unspent estimates;
  • Total is Remaining + Spent, i.e. what time the version is going to take currently;
  • In Issue metrics box below it adds Time progress showing Spent vs. Total, and exact values for Estimate, Spent and Remaining times for given category;
  • Issue metrics previously didn't show data for issues having chosen attribute not assigned. This is fixed here, see that [Not Assigned] group in screenshot;
  • Drill-through links from Issue metrics box didn't show closed issues, this is fixed here.

Tests are included, translations are made for English and Russian, English stubs are made for other languages.
The patch is made against Redmine trunk r1682. It can be considered as solution to #1561.
Contributed by Texuna Technologies company.

version_times.png (35.5 KB) Artem Vasiliev, 2008-07-21 19:27

version_times.patch (52.2 KB) Artem Vasiliev, 2008-07-21 19:28

version_times.patch - fixed version_test duplication (45.1 KB) Artem Vasiliev, 2008-07-22 11:04

version_times.png - Now with 'not estimated' link (87.5 KB) Artem Vasiliev, 2008-09-05 10:32

History

2008-07-21 19:28 - Artem Vasiliev

2008-07-21 19:59 - Eric Davis

Looks like the content of test/unit/version_test.rb is duplicated several times in the patch.

2008-07-22 11:04 - Artem Vasiliev

2008-07-22 11:05 - Artem Vasiliev

Eric Davis wrote:

Looks like the content of test/unit/version_test.rb is duplicated several times in the patch.

Yes, right, occasionally version_test.rb contained the same class several times. Attached fixed version.

2008-09-05 10:24 - Artem Vasiliev

Updated with
http://github.com/artemv/redmine_tt/commit/63d2bca24fbc56c44ab9d8cc49cf5bab1cd1af9c:
It introduces 'development complete' flag for issue status. Remaining time is
now calculated as max(estimated - spent, 0) only for open issues that are not in 'development complete'
status (we have only Resolved as such).

2008-09-05 10:27 - Artem Vasiliev

Updated with
http://github.com/artemv/redmine_tt/commit/2f53878ce1f51cd5c797eaa8a98e6ed327e13b96

Version page: show not estimated (undone) issues count.
Count is a link that leads to relevant issues list.
For this 2 new filter operators added for status: 'done' (which is closed or 'development complete') and 'undone'.

2008-09-05 10:32 - Artem Vasiliev

2008-09-09 19:52 - Weverton Morais

Will these changes be done on RedMine official next version?

2008-09-10 10:02 - Artem Vasiliev

Weverton Morais wrote:

Will these changes be done on RedMine official next version?

Not sure about it. But you could use version at http://github.com/artemv/redmine_tt/tree/master - it has 'download' button for getting zip. I'm keeping it in sync with Redmine's trunk.

Also available in: Atom PDF