https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292018-02-19T13:37:19ZRedmineRedmine - Feature #28198: Support issue relations when importing issueshttps://www.redmine.org/issues/28198?journal_id=836212018-02-19T13:37:19ZGregor Schmidtschmidt@nach-vorne.eu
<ul><li><strong>File</strong> <a href="/attachments/20113">0002-Support-issue-relations-when-importing-issues.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/20113/0002-Support-issue-relations-when-importing-issues.patch">0002-Support-issue-relations-when-importing-issues.patch</a> added</li></ul><p>This issue is in conflict with <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Support external ID when importing issues (Closed)" href="https://www.redmine.org/issues/28213">#28213</a>. Since I would like to see both being applied, here's a patch for this issue applied on top of <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Support external ID when importing issues (Closed)" href="https://www.redmine.org/issues/28213">#28213</a></p> Redmine - Feature #28198: Support issue relations when importing issueshttps://www.redmine.org/issues/28198?journal_id=836252018-02-19T16:04:11ZMischa The Evil
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/22701">Feature #22701</a>: Allow forward reference to parent when importing issues</i> added</li></ul> Redmine - Feature #28198: Support issue relations when importing issueshttps://www.redmine.org/issues/28198?journal_id=836272018-02-19T16:04:38ZMischa The Evil
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/28213">Feature #28213</a>: Support external ID when importing issues</i> added</li></ul> Redmine - Feature #28198: Support issue relations when importing issueshttps://www.redmine.org/issues/28198?journal_id=836312018-02-19T16:06:10ZMischa The Evil
<ul><li><strong>Target version</strong> set to <i>Unplanned backlogs</i></li></ul> Redmine - Feature #28198: Support issue relations when importing issueshttps://www.redmine.org/issues/28198?journal_id=915842019-05-06T14:13:35ZGo MAEDA
<ul><li><strong>Target version</strong> changed from <i>Unplanned backlogs</i> to <i>Candidate for next major release</i></li></ul> Redmine - Feature #28198: Support issue relations when importing issueshttps://www.redmine.org/issues/28198?journal_id=974052020-04-20T18:38:54ZMarius BĂLTEANU
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/33330">Feature #33330</a>: Import of issue relations when imported from csv</i> added</li></ul> Redmine - Feature #28198: Support issue relations when importing issueshttps://www.redmine.org/issues/28198?journal_id=974102020-04-20T22:29:26ZMarius BĂLTEANU
<ul><li><strong>Assignee</strong> set to <i>Marius BĂLTEANU</i></li></ul> Redmine - Feature #28198: Support issue relations when importing issueshttps://www.redmine.org/issues/28198?journal_id=975562020-04-28T06:36:31ZGo MAEDA
<ul><li><strong>Target version</strong> changed from <i>Candidate for next major release</i> to <i>4.2.0</i></li></ul><p>Setting the target version to 4.2.0.</p> Redmine - Feature #28198: Support issue relations when importing issueshttps://www.redmine.org/issues/28198?journal_id=975582020-04-28T06:38:25ZGo MAEDA
<ul><li><strong>Target version</strong> changed from <i>4.2.0</i> to <i>Candidate for next major release</i></li></ul><p>Go MAEDA wrote:</p>
<blockquote>
<p>Setting the target version to 4.2.0.</p>
</blockquote>
<p>Sorry, I have changed the target version mistakenly.</p> Redmine - Feature #28198: Support issue relations when importing issueshttps://www.redmine.org/issues/28198?journal_id=976582020-05-03T13:59:39ZMarius BĂLTEANU
<ul><li><strong>File</strong> <a href="/attachments/25354">issue_relations.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/25354/issue_relations.png">issue_relations.png</a> added</li><li><strong>File</strong> <a href="/attachments/25355">0002-Fix-failing-test.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/25355/0002-Fix-failing-test.patch">0002-Fix-failing-test.patch</a> added</li><li><strong>File</strong> <a href="/attachments/25356">0001-Rebased-patch-from-28198.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/25356/0001-Rebased-patch-from-28198.patch">0001-Rebased-patch-from-28198.patch</a> added</li><li><strong>Assignee</strong> deleted (<del><i>Marius BĂLTEANU</i></del>)</li><li><strong>Target version</strong> changed from <i>Candidate for next major release</i> to <i>4.2.0</i></li></ul><p>I've updated the patch posted by Greg to apply cleanly on the current trunk and to fix all Rubocop warnings.</p>
<p>Additionally, I'm adding a new patch (<em>0002-Fix-failing-test.patch</em>) that fixes a failing test (<code>test_parent_and_follows_relation</code>) by updating the test assertions. From my checks, assertions were wrong in the initial patch because the start/due dates change after the follows relations are applied. I've double check the test expectations by reproducing the test from UI. A double check were is welcome.</p>
Also, the initial patch:
<ul>
<li>adds a new section in the UI named "Issue relations" which is collapsed by default</li>
<li>moves the fields Unique ID and Parent task under this section along with the relation type fields. I'm not sure if it's the best idea to move those two fields as well.</li>
</ul>
<p><img src="https://www.redmine.org/attachments/download/25354/issue_relations.png" alt="" /></p>
<p>All tests pass: <a class="external" href="https://gitlab.com/redmine-org/redmine/pipelines/142141722">https://gitlab.com/redmine-org/redmine/pipelines/142141722</a></p>
<p>I'll add the patch for auto-mapping fields after we integrate this one.</p> Redmine - Feature #28198: Support issue relations when importing issueshttps://www.redmine.org/issues/28198?journal_id=976842020-05-06T00:38:06ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Assignee</strong> set to <i>Go MAEDA</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Committed the patch. Thank you for this good improvement.</p> Redmine - Feature #28198: Support issue relations when importing issueshttps://www.redmine.org/issues/28198?journal_id=976852020-05-06T01:33:41ZGo MAEDA
<ul><li><strong>Category</strong> changed from <i>Issues</i> to <i>Importers</i></li></ul> Redmine - Feature #28198: Support issue relations when importing issueshttps://www.redmine.org/issues/28198?journal_id=976952020-05-06T13:17:09ZMarius BĂLTEANU
<ul></ul><p>Is it ok to leave the Unique ID and Parents task fields under the "Issue relations" section?</p> Redmine - Feature #28198: Support issue relations when importing issueshttps://www.redmine.org/issues/28198?journal_id=976962020-05-06T13:58:44ZGo MAEDA
<ul></ul><p>Marius BALTEANU wrote:</p>
<blockquote>
<p>Is it ok to leave the Unique ID and Parents task fields under the "Issue relations" section?</p>
</blockquote>
<p>I noticed that but I thought that those fields can be said as "relations". Personally, I don't mind those fields being categorized as "Issue relations", but it could possibly confuse existing users.</p>
<p>Which do you think better? I am OK with either.</p> Redmine - Feature #28198: Support issue relations when importing issueshttps://www.redmine.org/issues/28198?journal_id=977012020-05-06T15:49:30ZMarius BĂLTEANU
<ul></ul><p>Go MAEDA wrote:</p>
<blockquote>
<p>I noticed that but I thought that those fields can be said as "relations". Personally, I don't mind those fields being categorized as "Issue relations", but it could possibly confuse existing users.</p>
<p>Which do you think better? I am OK with either.</p>
</blockquote>
<p>I'm in the same case as you, not knowing which option is better. Maybe we receive a 3rd opinion on this.</p> Redmine - Feature #28198: Support issue relations when importing issueshttps://www.redmine.org/issues/28198?journal_id=1032102021-07-13T03:50:35ZSimon Parker
<ul></ul><p>Would you be able to update the "HowTo import issues" wiki with information on how this works, please? I'm having trouble getting it to work.<br /><a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/HowTo_import_issues">HowTo_import_issues</a></p> Redmine - Feature #28198: Support issue relations when importing issueshttps://www.redmine.org/issues/28198?journal_id=1057022022-02-20T16:17:57ZMarius BĂLTEANU
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/35656">Defect #35656</a>: When importing issue relations, the validation messages are not shown in the UI</i> added</li></ul>