プロジェクト

全般

プロフィール

Vote #81022

未完了

Automatically set done ratio to 100% when closing a issue

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

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

0%

予定工数:
category_id:
2
version_id:
0
issue_org_id:
33894
author_id:
96748
assigned_to_id:
0
comments:
5
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

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


journals

Here is a patch, written by Mizuki ISHIKAWA, juno-nishizaki and me.
--------------------------------------------------------------------------------
Sorry, I've found some tests fail on this patch. We'll fix this later.
--------------------------------------------------------------------------------
It turned out that a condition in `done_ratio_editable?` was wrong.

I have attached a fixed patch.
--------------------------------------------------------------------------------
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%.
--------------------------------------------------------------------------------

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


related_issues

copied_to,New,36291,Issue done ratio is not updated after closing duplicate issue

Admin Redmine さんが約2年前に更新

  • カテゴリIssues_2 にセット

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

いいね!0
いいね!0