プロジェクト

全般

プロフィール

Vote #77740

完了

Reset status when copying issues

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

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

0%

予定工数:
category_id:
2
version_id:
119
issue_org_id:
23610
author_id:
145926
assigned_to_id:
1
comments:
8
status_id:
5
tracker_id:
2
plus1:
1
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

ATM, when copying an issue A to an issue B, the user can choose between 2 statuses :

  • The status from A (which is selected by default)
  • The default status of current tracker from B

But this can lead to problems :

  • B may be in a status that the user can't interact with
  • It allows user to skip parts of a workflow
  • (Specific) This leads to unintended cases, which mess up things like external data exports or billing

They can manually change the status of B during the copy, but from my experience, they don't (the status is reset on about 10% of copied issues only)
This behaviour should be set in the Administration panel.

The patch is attached, and here's the corresponding commit : https://github.com/vincent-clipet/redmine/commit/45335d4e9e7d7d4aa89dbc282c52dc1b0368b116

It adds a configuration setting (reset_issue_status_on_copy). When checked, all copied issues statuses are forced to the default status of the current tracker.

This fixes :
#17576
#10601
#1551
#10348 (Partially)
#16230 (Partially)


journals

--------------------------------------------------------------------------------
+1 this, and for, applying to the copied subtasks the same behavior.
Explaining, when copying a issue that has subtask, the reset status behavior should be applied tho the new subtask too.

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

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

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

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

--------------------------------------------------------------------------------
Change done in r16451. Status is now reset when copying issues.
No setting was added, if you want to let user copy issues with their original status, it should be allowed by workflow transitions.
--------------------------------------------------------------------------------

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


related_issues

relates,Closed,10348,Wrong issue statuses assignment during issue copy
relates,Closed,10460,Option to copy watchers when copying issues
relates,Closed,21021,Copying a Redmine issue does not allow change of Status
duplicates,Closed,17576,Ability to choose, in administration page, the behaviour of status during copying issues

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

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

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

いいね!0
いいね!0