Redmine - Feature #22600
Add warning when loosing data from custom fields when bulk editing issues
2016-04-21 08:58 - Maxim Krušina

ステータス:

Closed

開始日:

優先度:

High

期日:

担当者:

Jean-Philippe Lang

進捗率:0%

カテゴリ:

Issues

予定工数:

0.00時間対象バージョン:3.4.0

Resolution:

Fixed

説明
Hi, just lost bunch of data (maybe they are buried somewhere in DB, or at least, we have DB backup :).
What happened:
I just moved lot of issues by mass-moving them from one project to another.
I have defined custom fields in source project. These custom fields were defined not for "all projects" but only for specific ones
- in this case, (ticket) custom fields were enabled only for source project and (by my mistake) not for destination project
I moved all issues by multiple edit feature.
And voila, all custom fields disappeared in new (destination) project, because there were not enabled for that project
So I enabled these custom fields also for the new (destination) projects, so now they are available, but data from these fields
was lost. I didn't examined how exactly RM is behaving in this case - if values of custom fields were deleted or if they are
buried somewhere in DB.
Anyway I think that solution can be very easy - when moving issues from one project to another (or tracker, etc.), and when
there are not defined all custom fields in destination project/tracker, there should be some very clear/bright warning,something like "Hey dude, you are moving tickets to project/tracker where not of all currently used custom fields aredefined/available, so you loose some data!" ...and if possible, list of there custom fields.
This will warn user so he/she can fix it before loosing data, like me :)Or any other ideas, how to handle this situation?
PS: I'm describing only mass-ticket-update scenario, probably the same will be valid for single ticket copy/move
関連するチケット:
関連している Redmine - Feature #21623: Journalize values that a...

Closed関連している Redmine - Defect #11731: Custom fields values are ...

Needs feedback

関係しているリビジョン
リビジョン 16224 - 2017-01-18 15:49 - Jean-Philippe Lang
Add warning when loosing data from custom fields when bulk editing issues (#22600).
リビジョン 16225 - 2017-01-18 15:52 - Jean-Philippe Lang
Adds :warning̲fields̲cleared̲on̲bulk̲edit string to locales (#22600).

履歴#1 - 2016-04-24 10:20 - Go MAEDA- 関連している Feature #21623: Journalize values that are cleared after project or tracker change を追加#2 - 2016-04-24 10:24 - Go MAEDA- 関連している Defect #11731: Custom fields values are lost when changing the project on issue update を追加#3 - 2016-05-21 05:38 - Toshi MARUYAMA- 説明 を更新#4 - 2016-05-21 05:39 - Toshi MARUYAMA- 説明 を更新#5 - 2016-05-21 05:40 - Toshi MARUYAMA

2024-11-10

1/2- 説明 を更新#6 - 2017-01-18 15:52 - Jean-Philippe Lang
- 題名 を Add warning when loosing data from custom fields when moving tickets between projects から Add warning when loosing data fromcustom fields when bulk editing issues に変更- ステータス を New から Closed に変更- 担当者 を Jean-Philippe Lang にセット
- 対象バージョン を 3.4.0 にセット
- Resolution を Fixed にセット
Feature added in r16224 on bulk edit. I don't think it's required when editing a single issue as we clearly see the changes that are happening whenchanging the project or tracker of the issue, which is not the case when bulk editing.

2024-11-10

2/2