Feature #28213

Support external ID when importing issues

Added by Gregor Schmidt over 1 year ago. Updated 15 days ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Issues
Target version:4.1.0
Resolution:

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

History

#1 Updated by Mischa The Evil over 1 year ago

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

#2 Updated by Mischa The Evil over 1 year ago

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

#3 Updated by Mischa The Evil over 1 year ago

  • Target version set to Unplanned backlogs

#4 Updated by Gregor Schmidt over 1 year ago

Thanks for the triage.

This patch would fix #26326.

#5 Updated by Mischa The Evil over 1 year ago

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

#6 Updated by Go MAEDA 18 days ago

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

#7 Updated by Go MAEDA 16 days ago

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

#8 Updated by Marius BALTEANU 15 days 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

Also available in: Atom PDF