Project

General

Profile

Actions

Feature #23610

closed

Reset status when copying issues

Feature #23610: Reset status when copying issues

Added by Vincent C. over 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Issues
Target version:
Resolution:
Fixed

Description

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)


Files


Related issues 5 (0 open — 5 closed)

Related to Redmine - Defect #10348: Wrong issue statuses assignment during issue copyClosedActions
Related to Redmine - Feature #10460: Option to copy watchers when copying issuesClosedJean-Philippe LangActions
Related to Redmine - Defect #21021: Copying a Redmine issue does not allow change of StatusClosedActions
Related to Redmine - Feature #43883: Reset % Done when copying an issueClosedGo MAEDAActions
Has duplicate Redmine - Feature #17576: Ability to choose, in administration page, the behaviour of status during copying issuesClosedJean-Philippe LangActions

Updated by Jean-Philippe Lang over 10 years ago Actions #1

  • Target version set to 3.4.0

Updated by Fernando Hartmann about 10 years ago Actions #2

+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.

Updated by Go MAEDA about 10 years ago Actions #3

  • Has duplicate Feature #17576: Ability to choose, in administration page, the behaviour of status during copying issues added

Updated by Go MAEDA about 10 years ago Actions #4

  • Description updated (diff)

Updated by Toshi MARUYAMA about 10 years ago Actions #5

  • Related to Defect #10348: Wrong issue statuses assignment during issue copy added

Updated by Toshi MARUYAMA about 10 years ago Actions #6

  • Related to Feature #10460: Option to copy watchers when copying issues added

Updated by Jean-Philippe Lang over 9 years ago Actions #7

  • Subject changed from Add setting to reset an issue status when copying from another one to Reset status when copying issues
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

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.

Updated by Go MAEDA over 9 years ago Actions #8

  • Related to Defect #21021: Copying a Redmine issue does not allow change of Status added

Updated by Go MAEDA 8 months ago Actions #9

Actions

Also available in: PDF Atom