Project

General

Profile

Actions

Feature #31756

closed

Introduce setting for done ratio options interval

Added by Edgar Z over 5 years ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Issues
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

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


Files

clipboard-202405181901-wiu7n.png (158 KB) clipboard-202405181901-wiu7n.png Go MAEDA, 2024-05-18 12:01
clipboard-202405181903-jqrt5.png (267 KB) clipboard-202405181903-jqrt5.png Go MAEDA, 2024-05-18 12:03
31756.patch (3.24 KB) 31756.patch Go MAEDA, 2024-05-18 12:12
31756-v2.patch (4.01 KB) 31756-v2.patch Go MAEDA, 2024-05-18 16:11
clipboard-202405251652-m5wtr.png (82.5 KB) clipboard-202405251652-m5wtr.png Go MAEDA, 2024-05-25 09:52
clipboard-202405251653-psci6.png (79.3 KB) clipboard-202405251653-psci6.png Go MAEDA, 2024-05-25 09:53
clipboard-202405251655-plcwg.png (46.7 KB) clipboard-202405251655-plcwg.png Go MAEDA, 2024-05-25 09:55
31756-v3.patch (5.33 KB) 31756-v3.patch Go MAEDA, 2024-05-25 10:06

Related issues

Related to Redmine - Feature #373: Graphical slider for setting "% Done" fieldNew

Actions
Actions #1

Updated by Kevin Fischer over 5 years ago

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)

Actions #2

Updated by Bernhard Rohloff over 5 years ago

Perhaps this is what you are looking for in the mean time...
https://github.com/guilhermenoronha/redmine_percent_done_configuration

Actions #3

Updated by Mischa The Evil about 5 years ago

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.

Actions #4

Updated by Mischa The Evil about 5 years ago

  • Related to Feature #373: Graphical slider for setting "% Done" field added
Actions #5

Updated by C S 11 months ago

+1 IMPORTANT!
I currently have the same problem!

Actions #6

Updated by Uuganbayar Battulga 8 months ago

+1 IMPORTANT!
I currently have the same problem!

Actions #7

Updated by Go MAEDA 8 months ago

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.

Actions #8

Updated by Go MAEDA 8 months ago

  • File deleted (31756.patch)
Actions #9

Updated by Go MAEDA 8 months ago

Updated the patch in #note-7. The previous patch does not cover the bulk edit page.

Actions #10

Updated by Go MAEDA 7 months ago

  • Target version set to 6.0.0

Setting the target version to 6.0.0.

Actions #11

Updated by Marius BĂLTEANU 7 months ago

I think we should make this configurable as a new administration setting available only when DONE_RATIO_OPTIONS is issue_field. If we add this as 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.

Actions #12

Updated by Go MAEDA 7 months ago

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.

Actions #13

Updated by Go MAEDA 7 months ago

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.

Actions #14

Updated by Marius BĂLTEANU 7 months ago

Looks good to me now!

Actions #15

Updated by Go MAEDA 7 months ago

  • Subject changed from Add more values to done ratio to Introduce configuration for done ratio options interval
  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to 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.

Actions #16

Updated by Go MAEDA 2 months ago

  • Subject changed from Introduce configuration for done ratio options interval to Introduce setting for done ratio options interval
Actions

Also available in: Atom PDF