プロジェクト

全般

プロフィール

Vote #78078

完了

Spent time on subtasks should also be reassigned when deleting an issue

Admin Redmine さんが4年以上前に追加. 4年以上前に更新.

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

0%

予定工数:
category_id:
2
version_id:
124
issue_org_id:
24693
author_id:
4
assigned_to_id:
1
comments:
7
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

When you delete an issue, its spent hours will be reassigned to selected issue, but the time spent on descendants was just simply deleted. Now it is also reassigned to the targeted issue.

Patch tested and fully working for Redmine 3.3.1-devel

Pull request on GitHub : https://github.com/redmine/redmine/pull/92


journals

--------------------------------------------------------------------------------
Confirmed the problem.
This patch works as expected. The remaining work is to add tests.

**Total spent time is 11.00 hours:**
!screenshot1-spent_time.png!

**Without the patch:**
!screenshot2-without-patch.png!

**With the patch:**
!screenshot3-with-patch.png!
--------------------------------------------------------------------------------
Thanks for your response !

I will the send patch that will include the tests during this week.

Have a great day !
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
The fix is included in r16118, thanks.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
I did a plugin to backport this fix on 3.2.4 and older :
https://github.com/savoirfairelinux/redmine-backports-reassign-time-spent-on-subtasks-when-delete
--------------------------------------------------------------------------------


related_issues

relates,Closed,24718,Prevent from reassigning spent time to an issue that is going to be deleted

Admin Redmine さんが4年以上前に更新

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

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

いいね!0
いいね!0