Feature #952
openUpdate % to be programatic not arbitrary
0%
Description
Right now % is a completely arbitrary value entered by the issue assignee. Fact is, more often than not, it is totally off and pretty much a useless metric. I would prefer to see % be a programmatic value derived from estimated time vs logged time and have someone update the estimate if it looks like they have further to go. That will help keep estimated time (and hence budget) more accurate.
Related issues
Updated by Thomas Löber over 16 years ago
- Having a configuration option on the project (or the tracker) named "compute done ratio" and letting Redmine update the value when appropriate. In that case the value should not be editable by the user.
- Doing this outside of Redmine using an SQL-Update statement that is called regularly.
Updated by Raz Mataz over 16 years ago
I would like to add that it would be great if tickets could optionally
aggregate the percentages from their child-tickets automatically.
We often work with "container-tickets" or "meta-tickets" to group related tasks.
For example, for an imaginary project with the goal to "create a website" we
might create the following structure:
Ticket #O1 (assigned to project manager): Create a Website
Ticket #O2 (child of #O1, assigned to Graphician): Create logo images for $website
Ticket #O3 (child of #O1, assigned to Coder): Program logic for $website
Now the graphician and coder will start working and (ideally) update the
percentage on their individual tickets regularly. It would be very helpful
for the project manager if the parent-ticket (#O1) could reflect the aggregate
percentage of all subtickets.
Thus, when ticket #O2 is 50% done and ticket #O3 is 90% done
then the parent ticket should read: 70% done.
For the implementation I'd imagine a simple checkbox next to the percentage
bar in the ticket-view. This checkbox should only be visible when a ticket has
any children and when enabled it would cause the percentage to be computed
as described.
The tricky part and what really turns this into a killer-feature (for us) is
that this kind of "percentage inheritance" should ofcourse work for a ticket-tree
of unlimited depth. The percentages of the children of children would aggregate
into the child and the percentages of the children would aggregate into the
parent ticket, etc.
That way a project manager could easily "drill down" into the ticket-tree to
identify bottlenecks and take countermeasures.
This is a little bit like the "Milestones"-view but we don't want to create Milestones
for every little thing. Instead our Milestones consist of a number of "subprojects"
that evolve around such ticket-trees that I just described.
Updated by Raz Mataz over 16 years ago
Ah, forgot a tiny detail that's necessary to make the "drill down" truly effective:
The percentage of child tickets should be displayed next to the ticketname in the
"related tickets"-section of the ticket-view.
That way you can immediately see which of the child-tickets have a low
percentage without actually opening each one individually.
Updated by Maxim Krušina over 16 years ago
Sorry for stupid question, but how you are doning "ticket nesting"? I dont see any implementation for this, except for ticket releation...
Updated by Raz Mataz over 16 years ago
Yes, by relation; "Child of" and "Parent of".
Updated by Jim Jones over 16 years ago
Just bumping this ticket so it doesn't get lost.
I like the ideas, are they being considered?
Updated by Michael Pirogov over 16 years ago
Sorry for stupid question, :-) but what if estimated_hours is less than spent_time? What to draw? 140%?
Updated by Jim Jones over 16 years ago
I can not speak for Thomas but my idea would be to make two bar-graphics: One for "Percentage done" and one for "Time used".
I would leave the "Percentage done" value manual (with the proposed ticket-inheritance) and apply the automatic that Thomas proposed only to the
"Time used"-graphic. And yes, if the ticket goes overtime then I would draw the graph 100% full, make it red and have the value next to it display the percentage (e.g. 140%).
My reasons:
- "Percentage done" can not be automatically determined. A human has to go in and decide how much is done or left to do.
- "Time used" on the other hand can be computed as Thomas proposed.
- The two values are independent and both are important. "Percentage done" is important to monitor progress and my proposed inheritance would help a lot with that. "Time used" is important for monitoring the timeline, keeping track of developer assignments and budgets.
- I think everybody will agree that "time spent" is not directly related to "percentage done", especially in software-projects.
Updated by Jim Jones over 16 years ago
PS: I'm Moe Mataz. Had to create a new account because I could not login any more and password reset did not work.
Updated by Shane Pearlman over 16 years ago
We ended up building a plug-in to handle this with a slightly different approach. The program allows the admin to set a % done value associated with each status. It makes it more general, but less arbitrary and the user no longer needs to fuss with % done. This is super useful when building reporting based upon % done. The key for it to be reasonably accurate is to make sure that tasks are not gigantic multi day tasks but smaller bit sized one - never longer than .5 day's time. If anyone is interested in the patch, I could ask eric to release it is we haven't done that yet.
ex:
proposed: 0%
new: 0%
in progress: 50%
feedback: 70%
pending signoff: 90%
complete: 100%
etc etc
Updated by Stephanie Collett over 16 years ago
+1 Our organization is interested in the patch. Entering in percent done seems redundant if you are already updated the status. I like this fix.
Updated by Michael Pirogov over 16 years ago
shane pearlman wrote:
We ended up building a plug-in to handle this with a slightly different approach.
It'll be open-sourced? If so...
When/where we can get it? (-;
Updated by Shane Pearlman over 16 years ago
I'm sorry folks, It looks like I offered prematurely. We are a bit too slammed at the moment to go through the qa process and sync it up with the current open sourced release. Perhaps in a few months.
peace
Updated by Eric Davis over 16 years ago
- Assignee set to Eric Davis
I'm assigning this issue to myself to help remind me about this plugin. I'll see if I can Open Source it soon.
Updated by sebastián scarano about 16 years ago
Moe Mataz wrote:
Yes, by relation; "Child of" and "Parent of".
Hi, sorry for the stupid question, but I can't find the "Child of" and "Parent of" type of relations
All I have is (I'm translatinf from spanish) : related with, copy of, blocks, before.
And I could't find where to edit the types of relations
am I missing something???
Updated by Jim Jones about 16 years ago
sebastián scarano wrote:
Moe Mataz wrote:
Yes, by relation; "Child of" and "Parent of".
Hi, sorry for the stupid question, but I can't find the "Child of" and "Parent of" type of relations
All I have is (I'm translatinf from spanish) : related with, copy of, blocks, before.
And I could't find where to edit the types of relations
am I missing something???
No, you're not missing anything, the relationship types in redmine are just a little bit, ehm, wierd. For example "Blocks" and "Precedes" seem to be basically redundant, but that's a different story...
Back on topic: For a parent/child relationship you basically make the child "block" the parent. In an ideal world the parent could then not be closed before all children are closed and the parent would automatically compute the "Percentage done" from the children's values. Furthermore tickets with such a relationship would show as a tree (with indentation) under the "issues"-view.
Ofcourse we don't live in an ideal world and redmine does nothing of that as of today. ;-)
Updated by sebastián scarano about 16 years ago
mmm
I'm beginning to think it won't be so easy to add new relations type
I've just seen it's hardcoded in
http://www.redmine.org/repositories/entry/redmine/branches/0.7-stable/app/models/issue_relation.rb
how come you've got "child of" and "parent of" relations???
Updated by sebastián scarano about 16 years ago
sebastián scarano wrote:
mmm
I'm beginning to think it won't be so easy to add new relations type
I've just seen it's hardcoded in
http://www.redmine.org/repositories/entry/redmine/branches/0.7-stable/app/models/issue_relation.rb
how come you've got "child of" and "parent of" relations???
oops, my apologies to Jim Jones, I posted before reading his answers...
Updated by Eric Davis about 15 years ago
- Category changed from Time tracking to Issues
I've just created a patch for this on #4274. It makes an issue's % done to be managed by it's Issue Status.
Updated by Alex Last over 14 years ago
using issue statuses to calculate %done (task #4274) looks very (VERY) weird.
my feature has 10 subtasks, which are estimated to take 10 hours each. so my feature should take 100 hours.
why would I see 50 done right after I just started working on a feature or on any of the subtasks? what does this 50% number tell you? Maybe I'm missing something, but it looks absolutely useless and WORSE - misleading.
Updated by Stéphane Bachelier over 14 years ago
I agree with Alexey. It looks weird to calculate % done by using issue statuses.
Any news about using log time and estimate time?
Updated by Xagyg Wulf about 14 years ago
A previous poster had a good idea. Have a separate "Time Used" field, which could be more than 100%. Another option would be to have the "% Done" operate as "Time Used" by a config setting.
Updated by Xagyg Wulf about 14 years ago
Referring to my previous post, "Time Used (%)" = log_time / estimate_time * 100
Updated by Toshi MARUYAMA over 11 years ago
- Related to Feature #12762: Add option to calculate done ratio with the data from time tracking added