プロジェクト

全般

プロフィール

Vote #77379

完了

Add warning when loosing data from custom fields when bulk editing issues

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

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

0%

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

説明

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 are defined/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


journals

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

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

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

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

--------------------------------------------------------------------------------
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 when changing the project or tracker of the issue, which is not the case when bulk editing.
--------------------------------------------------------------------------------


related_issues

relates,Closed,21623,Journalize values that are cleared after project or tracker change
relates,Needs feedback,11731,Custom fields values are lost when changing the project on issue update

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

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

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

いいね!0
いいね!0