Patch #4274
closedUse Issue status for percent done
100%
Description
This patch adds an option which will automatically update an issue's done ratio based on which issue status is assigned. It's an optional setting (default off) in the Admin > Settings > Issue Tracking tab.
This is ready to commit pending code review.
Designed and sponsored by Shane and Peter Inc.
Files
Related issues
Updated by Jean-Philippe Lang almost 15 years ago
Updated by Eric Davis almost 15 years ago
I could covert this feature's setting (issue_status_for_done_ratio) from a boolean to a select field. Then when #952 is implemented, it could become the third option.
Updated by Shane Pearlman almost 15 years ago
I'm a fan of Jean-Phillipe's suggestion. The project level override is extremely important for the way we use this feature.
Updated by Eric Davis almost 15 years ago
- Status changed from 7 to Closed
- Target version set to 0.9.0
- % Done changed from 0 to 100
Updated by Nanda P almost 15 years ago
Eric,
I pulled trunk version (Redmine 0.8.7.devel.3171 (MySQL))
I couldn't see the % Done option. I checked the datatabase, I can see the new field "default_done_ratio" in issue_statuses table with NULL.
Is there any settings to enable this option?
Regards,
Nanda
Updated by Felix Schäfer almost 15 years ago
Nanda Palaniswamy wrote:
Is there any settings to enable this option?
You have to click on each status, and in the status configuration, you have a list from which you can choose what percent done corresponds to this status.
Updated by Nanda P almost 15 years ago
Felix,
Thanks for your response.
When I click a status to update it, I don't see the "Percent Done" field..
here is a screen shot.
Updated by Nicklas Holm almost 15 years ago
Nanda Palaniswamy wrote:
Felix,
Thanks for your response.
When I click a status to update it, I don't see the "Percent Done" field..
here is a screen shot.
You will have to go to the "Issue tracking" tab in the admin settings and set "Calculate the issue done ratio with" to "Use the issue status". Now you will have an extra field.
Updated by Mischa The Evil almost 15 years ago
Also note that when "Calculate the issue done ratio with" is set to "Use the issue status" any user is not able any longer to update the issue done ratio manually since the field isn't displayed on issue new/edit forms. The ratio is strictly set automatically depending on the issue status.
Off-topic: I must admit I really like the way how Eric has implemented this feature... Though it's a personal preference...
Updated by Nanda P almost 15 years ago
Nicklas Holm wrote:
Nanda Palaniswamy wrote:
Felix,
Thanks for your response.
When I click a status to update it, I don't see the "Percent Done" field..
here is a screen shot.
You will have to go to the "Issue tracking" tab in the admin settings and set "Calculate the issue done ratio with" to "Use the issue status". Now you will have an extra field.
Nicklas:
After setting "Use the issue status" it working like a charm!!
Thanks a Lot :)
Updated by Alexey Palazhchenko almost 15 years ago
I think it will be nice to implement mixed behavior. For example, I want "New" status be fixed to 0% and "Resolved" status to 100%, but I want to have a possibility to specify percentage for "In progress" status. Should I extract this feature request into new ticket?
Updated by Bruno Medeiros over 14 years ago
Good idea, Aleksey!
Avoid user to set manually the status is not needed to this feature to work.
Updated by Tharuka Pathirana over 14 years ago
Leaving the "% Done" for a status empty: Does it mean it doesn't change regardless what the percentage was before the status change or does it mean that the percentage is set to empty?
Unfortunately there is no information about this in the wiki yet.
Updated by Mischa The Evil over 14 years ago
Updated by Chuck H almost 14 years ago
I am running RedMine v1.0.2 on a Windows server and I would like to implement this patch but I have no idea how. Can someone please point me to some documentation on how to implement this patch file.
Updated by Thomas Robbs almost 12 years ago
I want to use this setting, but I have to reluctantly because it affects all projects.
Can this be "fixed", such that it can be implemented at the project, tracker, [other?] levels setting vs. just at the application level settings?
See also #4015.
Updated by Uuganbayar Battulga over 6 years ago
Hi Jean-Philippe Lang,
This is a very useful thing, it can not be inserted into redmine core system
Updated by Bernhard Rohloff over 6 years ago
Uuganbayar Battulga wrote:
Hi Jean-Philippe Lang,
This is a very useful thing, it can not be inserted into redmine core system
What exactly would you like to see in Redmine? This particular feature was integrated 8 years ago so it is part of Redmine's core system already.