Project

General

Profile

Actions

Feature #28213

closed

Support external ID when importing issues

Added by Gregor Schmidt almost 7 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Importers
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
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.


Files


Related issues

Related to Redmine - Feature #28198: Support issue relations when importing issuesClosedGo MAEDA

Actions
Related to Redmine - Feature #25799: Issue Import - Dynamic Parent pasksClosed

Actions
Related to Redmine - Feature #26326: Adanced relation handling for Issue ImportClosed

Actions
Actions #1

Updated by Mischa The Evil almost 7 years ago

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

Updated by Mischa The Evil almost 7 years ago

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

Updated by Mischa The Evil almost 7 years ago

  • Target version set to Unplanned backlogs
Actions #4

Updated by Gregor Schmidt almost 7 years ago

Thanks for the triage.

This patch would fix #26326.

Actions #5

Updated by Mischa The Evil almost 7 years ago

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

Updated by Go MAEDA over 5 years ago

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

Updated by Go MAEDA over 5 years ago

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

Actions #8

Updated by Marius BĂLTEANU over 5 years 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

Actions #10

Updated by Jean-Philippe Lang over 5 years ago

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

Patch committed, thanks!

Actions #11

Updated by Go MAEDA about 5 years ago

  • Category changed from Issues to Importers
Actions

Also available in: Atom PDF