Redmine - Feature #31756
Introduce setting for done ratio options interval
2019-07-19 13:17 - Edgar Z

ステータス:

Closed

開始日:

優先度:

Normal

期日:担当者:Go MAEDA

進捗率:0%

カテゴリ:

Issues

予定工数:0.00時間

対象バージョン:6.0.0

Resolution:

Fixed

説明
Hello,
I have a problem with done ratio. I want to add more % values like 5%, 15% etc., because i have more than 11 statuses.
Is there any possibility to do this?
Best Regards,
Elliot関連するチケット:
関連している Redmine - Feature #373: Graphical slider for setti...

New

関係しているリビジョン
リビジョン 22849 - 2024-05-29 17:06 - Go MAEDA
Introduce configuration for done ratio options interval (#31756).
Patch by Go MAEDA (@maeda).
リビジョン 22850 - 2024-05-29 17:11 - Go MAEDA
Update locales (#31756).

履歴#1 - 2019-07-29 04:00 - Kevin Fischer
Currently not possible. The options are hardcoded into the Issue form.
Seems you would have to write a plugin for that yourself. (A simple Javascript script that replaces the options of the issue edit form select box
should do the trick)#2 - 2019-07-29 05:37 - Bernhard Rohloff
Perhaps this is what you are looking for in the mean time...
https://github.com/guilhermenoronha/redmine̲percent̲done̲configuration#3 - 2019-10-06 06:00 - Mischa The Evil
OT but nevertheless:
Bernhard Rohloff wrote:
Perhaps this is what you are looking for in the mean time...
https://github.com/guilhermenoronha/redmine̲percent̲done̲configuration

I don't think so. This plugin overrides /app/views/issues/̲attributes.html.erb with a version that is last updated on the 30th of October 2013. That
most likely won't work at all or at least give a bunch of other problems with more recent Redmine releases.
Make sure you know what plugins you decide to use and always check their sources.
#4 - 2019-10-06 06:01 - Mischa The Evil
- 関連している Feature #373: Graphical slider for setting "% Done" field を追加

2024-11-09

1/3

#5 - 2024-01-30 08:18 - C S+1 IMPORTANT!
I currently have the same problem!
#6 - 2024-05-09 04:26 - Uuganbayar Battulga+1 IMPORTANT!
I currently have the same problem!
#7 - 2024-05-18 12:12 - Go MAEDA- ファイル 31756.patch を追加- ファイル clipboard-202405181901-wiu7n.png を追加- ファイル clipboard-202405181903-jqrt5.png を追加- ファイル 31756.patch を追加
I frequently receive requests from my customers to enter the done ratio in 5% increments, so I wrote a patch to implement this feature.
The attached patch allows admins to change the options in the done ratio select box to 5% increments.
clipboard-202405181901-wiu7n.png
clipboard-202405181903-jqrt5.png#8 - 2024-05-18 12:27 - Go MAEDA- ファイル を削除 (31756.patch)#9 - 2024-05-18 16:14 - Go MAEDA- ファイル 31756-v2.patch を追加
Updated the patch in #note-7. The previous patch does not cover the bulk edit page.
#10 - 2024-05-24 09:32 - Go MAEDA- 対象バージョン を 6.0.0 にセット
Setting the target version to 6.0.0.
#11 - 2024-05-24 10:19 - Marius B

LTEANUI think we should make this configurable as a new administration setting available only when DONE̲RATIO̲OPTIONS is issue̲field. If we add thisas a new option for DONE̲RATIO̲OPTIONS and we have some specific behaviour based on issue̲field it will be necessary to check for both options
every time.
#12 - 2024-05-24 10:32 - Go MAEDA
Marius B

LTEANU wrote in#note-11:

I think we should make this configurable as a new administration setting available only when DONE̲RATIO̲OPTIONS is issue̲field.

Thank you for the comment. I will update the patch as such.
#13 - 2024-05-25 10:07 - Go MAEDA- ファイル clipboard-202405251652-m5wtr.png を追加- ファイル clipboard-202405251653-psci6.png を追加- ファイル clipboard-202405251655-plcwg.png を追加- ファイル 31756-v3.patch を追加
Updated the patch.
Added a new setting "Done ratio options step size"
Supported the default done ratio of issue statues
Supported the done ratio of fixing keywords of repository settings
The "Done ratio options step size" setting is enabled even when ̀Setting.issue̲done̲ratiò is ̀issue̲status̀ because the new setting has an effect on
the default done ratio of issue status.

2024-11-09

2/3

clipboard-202405251655-plcwg.png
clipboard-202405251652-m5wtr.png
clipboard-202405251653-psci6.png#14 - 2024-05-28 19:35 - Marius B

LTEANU

Looks good to me now!
#15 - 2024-05-29 17:09 - Go MAEDA- 題名 を Add more values to done ratio から Introduce configuration for done ratio options interval に変更- ステータス を New から Closed に変更- 担当者 を Go MAEDA にセット
- Resolution を Fixed にセット
Committed the patch in r22849.
A setting "Done ratio options interval" has been added in Administration > Settings > Issue tracking. You can choose "5 %" or "10 %" in the setting.
#16 - 2024-10-23 06:53 - Go MAEDA- 題名 を Introduce configuration for done ratio options interval から Introduce setting for done ratio options interval に変更

ファイル
clipboard-202405181901-wiu7n.png

158 KB

2024-05-18

Go MAEDA

clipboard-202405181903-jqrt5.png

267 KB

2024-05-18

Go MAEDA

31756.patch

3.24 KB

2024-05-18

Go MAEDA

31756-v2.patch

4.01 KB

2024-05-18

Go MAEDA

clipboard-202405251652-m5wtr.png

82.5 KB

2024-05-25

Go MAEDA

clipboard-202405251653-psci6.png

79.3 KB

2024-05-25

Go MAEDA

clipboard-202405251655-plcwg.png

46.7 KB

2024-05-25

Go MAEDA

31756-v3.patch

5.33 KB

2024-05-25

Go MAEDA

2024-11-09

3/3