Defect #6609
open% Done for Parent Tasks [2]
0%
Description
If I have parent tasks and sub tasks and I use manual (per issue) % done values, then the parent gets the average of the values of the subtasks.
However if I use the option to set % done from status updates then instead of inheriting its % done from the subtasks it takes it from the status attached on the parent task.
Example:
In this case 3 of 4 subtasks are finished and the 4th is in progress, yet the parent task remains at 10% because its status is just 'Developing' (which means not much for a container task).
I actually have two separate requests here:
- I think that parent tasks should inherit their done% from the sub tasks in both modes (note that when using per-issue Done% values I do not get the option to pick a value for the parent, it is always computed, so why not for the by-status version too?)
- Rather than average the Done of the child tasks I would prefer to weight them by the estimated time of each subtask, so if I have 2 x 8 hr tasks finished and one 4 hour task not started the parent would be at 80 and not 66%.
Files
Related issues
Updated by Daniel Felix almost 12 years ago
- Status changed from New to Needs feedback
Any news on this? I'm not able to reproduce this.
Is this one fixed already?
Updated by Jan Niggemann (redmine.org team member) almost 11 years ago
- Status changed from Needs feedback to Resolved
- Resolution set to No feedback
Updated by Toshi MARUYAMA almost 11 years ago
- Status changed from Resolved to Closed
Updated by Ewan Makepeace almost 11 years ago
Does that mean it was implemented? Which version?
Updated by Mischa The Evil almost 11 years ago
- File rm6609-with_done_per_status.png rm6609-with_done_per_status.png added
- File rm6609-with_done_per_field.png rm6609-with_done_per_field.png added
- File rm6609-issue_statuses_config.png rm6609-issue_statuses_config.png added
- Category set to Issues
- Status changed from Closed to Reopened
- Resolution deleted (
No feedback)
The behavior given by Ewan in the description is still present on source:/trunk@12577.
The implementation of the done ratio [computed] by issue status option [further referred to as 'the option'] predates the subtasking feature and its behavior has not been changed by the subtasking implementation. Such a change hasn't been discussed as part of subtasking implementation either IIRC.
Considering the scope of the option (and the fact that subtasking isn't computing issue statuses) there can be given arguments against changing the current behavior. One for example is that it would break the pattern of computing the done ratio of the issue based on its status, which is after all the main purpose of the option.
I think this definitely needs some more discussion. Especially from users who are using the option actively in production workflows.
To clarify the issue I'll attach some more screenshots:
with done ratio by issue field | with done ratio by issue status | issue statuses config |
- #443
- #4274
Updated by Ewan Makepeace almost 11 years ago
Michael Vorobiev: We ended up writing our own patch to fix this annoyance as part of some other improvements, but I must say it seems to negatively impact performance at times. Would be very interested in other peoples feedback.
Updated by Go MAEDA almost 10 years ago
- Has duplicate Feature #18184: Calculate parent task done ratio based on subtask status. added
Updated by Go MAEDA almost 10 years ago
- Has duplicate Defect #13116: When setting Redmine to update the done % by status parent tasks should have the status update according to the done % of the child tasks and not the status. This is the default behavior when you just update by issue. added
Updated by Go MAEDA almost 10 years ago
- Has duplicate Feature #15692: calculation of % done with subtickets added
Updated by Toshi MARUYAMA over 8 years ago
- Related to Feature #22284: Issues statuses: Option to force removal of existing percentage done added
Updated by Go MAEDA over 8 years ago
- Has duplicate Feature #23529: Calculate parent Issue's done ratio from subtasks in case of 'Use the issue status' added
Updated by Go MAEDA over 8 years ago
- Target version set to Candidate for next major release
Updated by Uuganbayar Battulga over 6 years ago
This is a very important issue. It's not included in version 3.4.4. When will this issue be included in the new releases?
Updated by Manzumul Haque about 6 years ago
I am also facing this issue in version 3.4.6. Waiting for the fix :)
Updated by Elymar Silva over 5 years ago
Looks like the calculation only works if you set the "Calculate the issue done ratio with" option to "Use the issue field" and not to "Use the issue status"
Updated by Go MAEDA over 5 years ago
- Target version changed from Candidate for next major release to Unplanned backlogs
Updated by Raphael França almost 4 years ago
As alternative for 3.4.X i'm using http://redmine-search.com/redmine-issue-done-ratio-plugin, as it let me use "Use the issue field" and still change Done Ratio based on Issue Status.
Updated by Cristian Bazzucco about 3 years ago
I'm on 4.2.3.stable and the parent percentage calculation works only with "Calculate the issue done ratio with" option to "Use the issue field".
Any feedback to fix it? thx