プロジェクト

全般

プロフィール

Vote #66062

完了

Use Issue status for percent done

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Issues_2
対象バージョン:
開始日:
2009/11/23
期日:
進捗率:

100%

予定工数:
category_id:
2
version_id:
6
issue_org_id:
4274
author_id:
5
assigned_to_id:
5
comments:
22
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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.

!issue-status-for-percent-done.png!

Designed and sponsored by Shane and Peter Inc.


journals

I think there could be a setting for percent done management:
* manual (current behaviour)
* issue status (this ticket)
* spent hours vs. estimate (#952)

With #4015, it could be a per project setting.
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
I'm a fan of Jean-Phillipe's suggestion. The project level override is extremely important for the way we use this feature.
--------------------------------------------------------------------------------
I changed the setting to use a list of options and committed this in r3151. #952 should be easy for someone to implement.
--------------------------------------------------------------------------------
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.

!RedMine_IssueStatuses.jpg!

Is there any settings to enable this option?

Regards,
Nanda
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
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.

!RedMine_IssueStatuses_1.jpg!
--------------------------------------------------------------------------------
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.
>
> !RedMine_IssueStatuses_1.jpg!

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.
--------------------------------------------------------------------------------
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...
--------------------------------------------------------------------------------
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.
> >
> > !RedMine_IssueStatuses_1.jpg!
>
> 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 :)

--------------------------------------------------------------------------------
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?
--------------------------------------------------------------------------------
Good idea, Aleksey!
Avoid user to set manually the status is not needed to this feature to work.
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
Try it out and amend the wiki :-)
--------------------------------------------------------------------------------
Well, I did... ;)
[[RedmineSettings#Calculate-the-issue-done-ratio|Here]] and [[RedmineIssueTrackingSetup#Issue-statuses|here]].
--------------------------------------------------------------------------------
Tharuka Pathirana wrote:
> Well, I did... ;)
>
> [[RedmineSettings#Calculate-the-issue-done-ratio|Here]] and [[RedmineIssueTrackingSetup#Issue-statuses|here]].

Thanks for your help... :)
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
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.

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Hi Jean-Philippe Lang,
This is a very useful thing, it can not be inserted into redmine core system
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------


related_issues

relates,New,952,Update % to be programatic not arbitrary
relates,New,2561,Correlate workflow with Issue complete percentage
relates,New,4015,Make app settings overridable at project level
duplicates,Closed,5079,Link a completed percentage to an issue status

Admin Redmine さんがほぼ2年前に更新

  • カテゴリIssues_2 にセット
  • 対象バージョン0.9.0_6 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0