Feature #2182
closedWeighted version completion percentage
0%
Description
Showing percentage of issue completion is a handy feature, but it would be nice to have the ability to see an estimation of work completion. It could be more intuitive in some cases. I would like to suggest this feature as at least an option to replace existing functionality, whether as an program, project, target version, or user-level preference. If so enabled, it should replace the current means of calculating version completeness percentages (and showing progress bars) wherever they appear.
As an example, a scattering of estimated times on Version Foo of a project:Issue | Estimated | Status | Percent Done | Time Spent |
---|---|---|---|---|
1 | 16 | Open | 0% | 0.0 |
2 | 4 | Closed | 100% | 4.0 |
3 | 3 | Open | 40% | 1.3 |
4 | Unknown | Open | 0% | 0.0 |
5 | Unknown | Open | 50% | 3.5 |
Total | 23 | 8.8 |
- 0% / 5 = 0%
- 100% / 5 = 20%
- 40% / 5 = 8%
- 0% / 5 = 0%
- 50% / 5 = 10%
This totals 38% done.
Unfortunately, I cannot think of any alternative that doesn't involve estimated time in some fashion, and that is an optional field.
While Redmine already displays total estimated/spent time for a version, using this directly could be flawed for several reasons. These reasons include that tracking time spent is not required either, and that there's nothing preventing spent time from exceeding estimated time.
Perhaps the most compatible option would be to split a version's issues into estimated and non-estimated. In the above example, that would be 3/5 estimated and 2/5 non-estimated issues.
The non-estimated issues would be given the same weight all issues are currently given. In this case, 20% (or one fifth).
The estimated issues are weighted relative to each other. There may be a more mathematically efficient representation, but below is a general idea:- We have a total of 23 estimated hours for issues that were estimated.
- Weighted 16/23
- Weighted 4/23
- Weighted 3/23
- 60% of the versions issues have been estimated, so we must adjust the weights accordingly
- Weighted 48/115
- Weighted 12/115
- Weighted 9/115
- Now we consider the completion of the issue with regard to its weight
- 0%, no need to apply the weight
- Closed, no need to apply the weight
- 40% done, weighted by 9/115 gives 18/575, or about 3% completion of the overall project (instead of 8%)
In this example, the difference would be relatively small (33% instead of 38%). However, we have a target version in our Redmine installation which shows 38% completion, but by the above logic it would be closer to 10%. In our case it's due to fixing a large number of small, quick (1 hour or less) bugs before starting on big new features (ranging from 4-8 estimated hours on average).
Files
Related issues