プロジェクト

全般

プロフィール

Vote #79156

完了

Support external ID when importing issues

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

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

0%

予定工数:
category_id:
15
version_id:
127
issue_org_id:
28213
author_id:
14446
assigned_to_id:
1
comments:
11
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

As described in #25799, it can be tedious to reference other issues of the same import in the CSV document. When the document to import was created manually, the order of issues influences the position of rows and therefore the values of parent relations might need to change during the import.

This problem was not only reported in #25799, but also requested by multiple Planio customers.

The proposed patch tries to simplify this use case. It adds a configuration option "Unique ID". When assigning columns of the imported document, the user may select this unique ID column. If so, it will be assumed, that references to other rows will use the unique ID instead of the row position.

N.B.: If that reference starts with a @#@, it's still interpreted as existing Redmine ticket ID. Consequently it's not supported to have a unique ID column with values, starting with @#@-s.

This issue is in conflict with #28198. If interested, I'll gladly provide a patch for both features at once.


journals

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

--------------------------------------------------------------------------------
Thanks for the triage.

This patch would fix #26326.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
The patch cannot be applied to the trunk maybe after r18145.
--------------------------------------------------------------------------------
"Here":https://gitlab.com/redmine-org/redmine/commit/c39428b6648e01ddcb2447004c0b1d9228c6dd27.diff is an updated version of this patch, the changes were not so big.

All tests pass: https://gitlab.com/marius-balteanu/redmine/-/jobs/210226866

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

--------------------------------------------------------------------------------
Patch committed, thanks!
--------------------------------------------------------------------------------

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


related_issues

relates,Closed,28198,Support issue relations when importing issues
relates,Closed,25799,Issue Import - Dynamic Parent pasks
relates,Closed,26326,Adanced relation handling for Issue Import

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

  • カテゴリImporters_15 にセット
  • 対象バージョン4.1.0_127 にセット

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

いいね!0
いいね!0