Patch #1671

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

Added by Artem Vasiliev almost 9 years ago. Updated over 1 year ago.

Status:NewStart date:2008-07-21
Priority:NormalDue date:
Assignee:Mischa The Evil% Done:

0%

Category:Time tracking
Target version:Candidate for next major release

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 Magnifier (52.2 KB) Artem Vasiliev, 2008-07-21 19:28

version_times.patch Magnifier - 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

version_times_251.diff Magnifier (15.5 KB) P S, 2014-05-15 14:52

version_times_320.diff Magnifier (14.1 KB) Ben Quinn, 2015-12-15 17:03


Related issues

Related to Redmine - Feature #2587: Improvement of built-in issue reports in roadmap page New 2009-01-26
Related to Redmine - Feature #371: Show time tracking in the changelog/roadmap New
Related to Redmine - Defect #8106: Issues by Category should show tasks without category Closed 2011-04-08
Related to Redmine - Feature #12220: Time tracking countdown New
Related to Redmine - Feature #13099: Issue Summary: add statistics about issues without Assign... New

History

#2 Updated by Eric Davis almost 9 years ago

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

#4 Updated by Artem Vasiliev almost 9 years ago

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.

#5 Updated by Artem Vasiliev over 8 years ago

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).

#7 Updated by Artem Vasiliev over 8 years ago

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'.

#8 Updated by Artem Vasiliev over 8 years ago

#9 Updated by Weverton Morais over 8 years ago

Will these changes be done on RedMine official next version?

#10 Updated by Artem Vasiliev over 8 years ago

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.

#11 Updated by Eric Davis over 8 years ago

Artem Vasiliev wrote:

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.

Artem Vasiliev, any chance you can break your custom features into separate branches for me? Then I can pull them into the core and you wouldn't have to merge them anymore. Right now I get a list of all your changes with no way to pick out single features.

#12 Updated by Artem Vasiliev over 8 years ago

Eric Davis wrote:

Artem Vasiliev, any chance you can break your custom features into separate branches for me? Then I can pull them into the core and you wouldn't have to merge them anymore. Right now I get a list of all your changes with no way to pick out single features.

Hi Eric!

I think I could do that on feature-by-feature basis. E.g. you ask me to make individual branch for this (#1671) ticket and I do it. Ok?
Please note that I'll have much less time for Redmine starting from next week (02/02), so better start on this week.

Best regards,
Artem

#13 Updated by Javier Barroso about 8 years ago

Hi,

We are interesting in using redmine_tt fork, but I have questions ...

How can we apply your redmine_tt diff into redmine ?
Is there any plan to integrate in trunk ?
Is it just integrated ?

Thank you

#14 Updated by Artem Vasiliev about 8 years ago

Hi Javier!

Well you see, there's redmine_tt fork at GitHub. This is Redmine + our changes, so you can install it from beginning and work with it, or begin with plain Redmine and then switch to redmine_tt keeping the same database.

Redmine is a big project and process of integrating community's changes is not easy, and there are no plans integrating redmine_tt's changes to upstream AFAIK. And I'm not a Redmine core member after all )
But, redmine_tt can be upgraded time to time to merge changes from upstream thanks to Git's distributed nature. You can do it yourself, too: just make a fork from redmine_tt and do what you want.

Best regards,
Artem

Javier Barroso wrote:

Hi,

We are interesting in using redmine_tt fork, but I have questions ...

How can we apply your redmine_tt diff into redmine ?
Is there any plan to integrate in trunk ?
Is it just integrated ?

Thank you

#15 Updated by mythos mint about 7 years ago

This is great. I'm wondering, is there a way to modify this so I show the remaining time per month under "Projects->Overview->Details" (redmine/projects/project_name/timelog/details) ?

This is what I want: In March I have 20 hours dedicated to Project X. It already totals how many hours spent in the project from the issues. I just want to show how many hours are remaining that month.

#16 Updated by mythos mint about 7 years ago

It wouldn't let me upload an image, so I put it here @ http://i48.tinypic.com/s2fpdi.jpg

#17 Updated by Jérôme BATAILLE almost 6 years ago

Hi Artem, we are developping almost the same feature,
Have you worked on branches on your Github repository ?

#18 Updated by Terence Mill almost 6 years ago

+1 for core integration

#19 Updated by fake plastic tree over 5 years ago

+1 for core integration

or at least a patch file for redmine 1.2.1

Is anyone working on this?

#20 Updated by Mischa The Evil over 5 years ago

  • Assignee set to Mischa The Evil

This is one of my favorite issues too. I'll see if I can port the patches to a current checkout of the Redmine trunk (upcoming Redmine 1.3.0).

#21 Updated by P S about 3 years ago

I port this patch to Redmine 2.5.1
To apply patch download Redmine 2.5.1 and exec cmd

patch -p0 < version_times_251.diff

#22 Updated by Benoit Duffez about 2 years ago

Is it patchable over Redmine 3.0.x?

#23 Updated by Ben Quinn over 1 year ago

Updated the patch from P S for redmine 2.5.1 to work with redmine 3.2.0.

#24 Updated by Go MAEDA over 1 year ago

  • Target version set to Candidate for next major release

Also available in: Atom PDF