https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292010-05-08T12:03:11ZRedmineRedmine - Defect #5473: adding parent when cross projecthttps://www.redmine.org/issues/5473?journal_id=165682010-05-08T12:03:11ZFelix Schäfer
<ul><li><strong>Assignee</strong> set to <i>Jean-Philippe Lang</i></li><li><strong>Affected version (unused)</strong> set to <i>devel</i></li></ul><p>The cross-project issue relations setting is not for subtasks but only for the related issues feature. AFAIK the subtasks feature is only meant to be used inside a project.</p>
<p>I've assigned this jplang so he can share his thoughts.</p> Redmine - Defect #5473: adding parent when cross projecthttps://www.redmine.org/issues/5473?journal_id=165792010-05-09T10:20:08ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Wont fix</i></li></ul><p>Indeed, subtasks can not belong to a different project.<br />That's how it works now, fill a feature request if needed.</p> Redmine - Defect #5473: adding parent when cross projecthttps://www.redmine.org/issues/5473?journal_id=166002010-05-09T18:36:18ZBurt Culver
<ul></ul><p><a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Allow subtasks to cross projects (Closed)" href="https://www.redmine.org/issues/5487">#5487</a> created.</p> Redmine - Defect #5473: adding parent when cross projecthttps://www.redmine.org/issues/5473?journal_id=305292011-07-06T02:14:01ZAnonymous
<ul></ul><p>To add this feature to my copy, I also changed the following inside move_to_project_without_transaction function:</p>
<p><code>@ -166,7 +166,7 </code>@<br /> issue.fixed_version = nil<br /> end<br /> issue.project = new_project<br />- if issue.parent && issue.parent.project_id != issue.project_id<br />+ if issue.parent && issue.parent.project_id != issue.project_id && !Setting.cross_project_issue_relations?<br /> issue.parent_issue_id = nil<br /> end<br /> end</p>