Project

General

Profile

Actions

Feature #33894

open

Automatically set done ratio to 100% when closing a issue

Feature #33894: Automatically set done ratio to 100% when closing a issue

Added by Mitsuyoshi Kawabata about 6 years ago. Updated about 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Resolution:

Description

If the done ratio is not linked to the issue status, the done ratio must be manually updated when the issue is closed.

This plugin supports my opinion.
https://github.com/phqsh/redmine_issue_completion


Files

33894.patch (6.74 KB) 33894.patch vzvu 3k6k, 2020-09-21 09:22
33894-v2.patch (7.1 KB) 33894-v2.patch vzvu 3k6k, 2020-10-24 09:38

Related issues 1 (1 open — 0 closed)

Copied to Redmine - Defect #36291: Issue done ratio is not updated after closing duplicate issueNewActions

Updated by vzvu 3k6k about 6 years ago Actions #1

Here is a patch, written by Mizuki ISHIKAWA, juno-nishizaki and me.

Updated by vzvu 3k6k about 6 years ago Actions #2

Sorry, I've found some tests fail on this patch. We'll fix this later.

Updated by vzvu 3k6k about 6 years ago Actions #3

It turned out that a condition in `done_ratio_editable?` was wrong.

I have attached a fixed patch.

Updated by Go MAEDA about 6 years ago Actions #4

Thank you for posting the patch but I think the behavior that status is set to 100% on the edit page is sometimes problematic.

Suppose the following senario.

1. A user mistakenly select "Closed" status. The done ratio is immediately changed to 100%
2. Actually, the user wants to set the status to "In progress". So, the user re-select the status
3. Altough the issue is not going to be closed, done ratio remains at 100%

Probably The user does not want the done ratio to be updated to 100%.

Updated by Julia Kulpina almost 5 years ago Actions #5

  • Copied to Defect #36291: Issue done ratio is not updated after closing duplicate issue added
Actions

Also available in: PDF Atom