https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292015-06-17T14:11:55ZRedmineRedmine - Defect #20119: REST API: setting project_id in issue not accepted in Redmine 3.0.3https://www.redmine.org/issues/20119?journal_id=642432015-06-17T14:11:55ZAlexander Muthmann
<ul></ul><p>I found a quick fix for me here:</p>
<p>in issues_controller.rb I reintegrated the method <strong>find_project</strong> and it's call in <strong>before_filter</strong>. This was removed in <a class="changeset" title="Implements /issues/new form for creating issues outside a project (#1003)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/13999">r13999</a> <br />Most likely this is not the preferred way to solve it but this works as a quick fix for me.</p> Redmine - Defect #20119: REST API: setting project_id in issue not accepted in Redmine 3.0.3https://www.redmine.org/issues/20119?journal_id=642572015-06-18T05:00:47ZMischa The Evil
<ul></ul><p>Please see <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Creating new issues with invalid project_id should return 422 instead of 403 error (Closed)" href="https://www.redmine.org/issues/19276">#19276</a>.</p> Redmine - Defect #20119: REST API: setting project_id in issue not accepted in Redmine 3.0.3https://www.redmine.org/issues/20119?journal_id=642612015-06-18T06:39:57ZAlexander Muthmann
<ul></ul><p>Thank you for this hint. I assume the change will be permanent and the calls to the api have to be changed to the "new" format.</p> Redmine - Defect #20119: REST API: setting project_id in issue not accepted in Redmine 3.0.3https://www.redmine.org/issues/20119?journal_id=645292015-06-29T02:05:39ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Duplicate</i></li></ul><p>According to <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Creating new issues with invalid project_id should return 422 instead of 403 error (Closed)" href="https://www.redmine.org/issues/19276#note-8">#19276-8</a>, it is expected behavior.</p> Redmine - Defect #20119: REST API: setting project_id in issue not accepted in Redmine 3.0.3https://www.redmine.org/issues/20119?journal_id=645302015-06-29T02:05:55ZGo MAEDA
<ul><li><strong>Is duplicate of</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/19276">Defect #19276</a>: Creating new issues with invalid project_id should return 422 instead of 403 error</i> added</li></ul> Redmine - Defect #20119: REST API: setting project_id in issue not accepted in Redmine 3.0.3https://www.redmine.org/issues/20119?journal_id=746522016-11-23T09:32:00ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/23766">Defect #23766</a>: API : creating issues with project identifier no longer possible</i> added</li></ul>