Project

General

Profile

Actions

Patch #1671

open

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

Added by Artem Vasiliev over 15 years ago. Updated 4 months ago.

Status:
New
Priority:
Normal
Category:
Time tracking
Start date:
2008-07-21
Due date:
% Done:

0%

Estimated time:

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.


Files

version_times.png (35.5 KB) version_times.png Artem Vasiliev, 2008-07-21 19:27
version_times.patch (52.2 KB) version_times.patch Artem Vasiliev, 2008-07-21 19:28
version_times.patch (45.1 KB) version_times.patch fixed version_test duplication Artem Vasiliev, 2008-07-22 11:04
version_times.png (87.5 KB) version_times.png Now with 'not estimated' link Artem Vasiliev, 2008-09-05 10:32
version_times_251.diff (15.5 KB) version_times_251.diff P S, 2014-05-15 14:52
version_times_320.diff (14.1 KB) version_times_320.diff Ben Quinn, 2015-12-15 17:03

Related issues

Related to Redmine - Feature #2587: Improvement of built-in issue reports in roadmap pageClosed2009-01-26

Actions
Related to Redmine - Feature #371: Show time tracking in the changelog/roadmapNew

Actions
Related to Redmine - Defect #8106: Issues by Category should show tasks without categoryClosedJean-Philippe Lang2011-04-08

Actions
Related to Redmine - Feature #12220: Time tracking countdownNew

Actions
Related to Redmine - Feature #13099: Issue Summary: add statistics about issues without assignee, version or categoryClosedGo MAEDA

Actions
Related to Redmine - Feature #24277: Introducing Remaining Time field as method to track the remaining time to complete an issueNew

Actions
Actions #2

Updated by Eric Davis over 15 years ago

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

Actions #4

Updated by Artem Vasiliev over 15 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.

Actions #5

Updated by Artem Vasiliev over 15 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).

Actions #7

Updated by Artem Vasiliev over 15 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'.

Actions #9

Updated by Weverton Morais over 15 years ago

Will these changes be done on RedMine official next version?

Actions #10

Updated by Artem Vasiliev over 15 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.

Actions #11

Updated by Eric Davis about 15 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.

Actions #12

Updated by Artem Vasiliev about 15 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

Actions #13

Updated by Javier Barroso almost 15 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

Actions #14

Updated by Artem Vasiliev almost 15 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

Actions #15

Updated by mythos mint about 14 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.

Actions #16

Updated by mythos mint about 14 years ago

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

Actions #17

Updated by Jérôme BATAILLE over 12 years ago

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

Actions #18

Updated by Terence Mill over 12 years ago

+1 for core integration

Actions #19

Updated by fake plastic tree over 12 years ago

+1 for core integration

or at least a patch file for redmine 1.2.1

Is anyone working on this?

Actions #20

Updated by Mischa The Evil over 12 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).

Actions #21

Updated by P S almost 10 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

Actions #22

Updated by Benoit Duffez almost 9 years ago

Is it patchable over Redmine 3.0.x?

Actions #23

Updated by Ben Quinn over 8 years ago

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

Actions #24

Updated by Go MAEDA over 8 years ago

  • Target version set to Candidate for next major release
Actions #25

Updated by Marius BĂLTEANU about 6 years ago

  • Related to Feature #24277: Introducing Remaining Time field as method to track the remaining time to complete an issue added
Actions #26

Updated by pasquale [:dedalus] 4 months ago

Marius BĂLTEANU Go MAEDA
Could this ticket be included in the activities planned for version 6.0?

Actions

Also available in: Atom PDF