Feature #28213

Support external ID when importing issues

Added by Gregor Schmidt almost 2 years ago. Updated 4 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Importers
Target version:4.1.0
Resolution:Fixed

Description

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.

0001-Support-external-ID-when-importing-issues.patch Magnifier (7.43 KB) Gregor Schmidt, 2018-02-19 10:28

0001-Support-external-ID-when-importing-issues.patch Magnifier (7.42 KB) Marius BALTEANU, 2019-05-10 09:19


Related issues

Related to Redmine - Feature #28198: Support issue relations when importing issues New
Related to Redmine - Feature #25799: Issue Import - Dynamic Parent pasks Closed
Related to Redmine - Feature #26326: Adanced relation handling for Issue Import New

Associated revisions

Revision 18285
Added by Jean-Philippe Lang 6 months ago

Support external ID when importing issues (#28213).

Patch by Gregor Schmidt and Marius BALTEANU.

Revision 18287
Added by Go MAEDA 6 months ago

Update locales (#28213).

History

#1 Updated by Mischa The Evil almost 2 years ago

  • Related to Feature #28198: Support issue relations when importing issues added

#2 Updated by Mischa The Evil almost 2 years ago

  • Related to Feature #25799: Issue Import - Dynamic Parent pasks added

#3 Updated by Mischa The Evil almost 2 years ago

  • Target version set to Unplanned backlogs

#4 Updated by Gregor Schmidt almost 2 years ago

Thanks for the triage.

This patch would fix #26326.

#5 Updated by Mischa The Evil almost 2 years ago

  • Related to Feature #26326: Adanced relation handling for Issue Import added

#6 Updated by Go MAEDA 7 months ago

  • Target version changed from Unplanned backlogs to Candidate for next major release

#7 Updated by Go MAEDA 7 months ago

The patch cannot be applied to the trunk maybe after r18145.

#8 Updated by Marius BALTEANU 7 months ago

  • Target version changed from Candidate for next major release to 4.1.0

Here is an updated version of this patch, the changes were not so big.

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

#10 Updated by Jean-Philippe Lang 6 months ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Patch committed, thanks!

#11 Updated by Go MAEDA 4 months ago

  • Category changed from Issues to Importers

Also available in: Atom PDF