https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292019-09-04T00:29:33ZRedmineRedmine - Feature #32002: Add inherit_members to projects API responsehttps://www.redmine.org/issues/32002?journal_id=934762019-09-04T00:29:33ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/5605">Feature #5605</a>: Subprojects should (optionally) inherit Members from their parent</i> added</li></ul> Redmine - Feature #32002: Add inherit_members to projects API responsehttps://www.redmine.org/issues/32002?journal_id=934782019-09-04T00:34:15ZGo MAEDA
<ul></ul><p>Unfortunately, <code>GET /projects/:id.(xml|json)</code> and <code>GET /projects.(xml|json)</code> don't return <code>inherit_members</code>. I think the APIs should have been updated when the feature was added in Redmine 2.3.0 (<a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Subprojects should (optionally) inherit Members from their parent (Closed)" href="https://www.redmine.org/issues/5605">#5605</a>).</p> Redmine - Feature #32002: Add inherit_members to projects API responsehttps://www.redmine.org/issues/32002?journal_id=935002019-09-04T09:59:20ZAlex Sinav
<ul></ul><p>So is there plans to update REST API with this feature?</p> Redmine - Feature #32002: Add inherit_members to projects API responsehttps://www.redmine.org/issues/32002?journal_id=935152019-09-05T00:08:06ZYuichi HARADA
<ul><li><strong>File</strong> <a href="/attachments/23793">fixed-32002.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/23793/fixed-32002.patch">fixed-32002.patch</a> added</li></ul><p>I fixed to return <code>inherit_members</code> for <code>GET /projects/:id.(xml|json)</code> and <code>GET /projects.(xml|json)</code>.<br />I attached a patch.</p> Redmine - Feature #32002: Add inherit_members to projects API responsehttps://www.redmine.org/issues/32002?journal_id=935182019-09-05T01:24:17ZGo MAEDA
<ul><li><strong>Tracker</strong> changed from <i>Defect</i> to <i>Feature</i></li><li><strong>Subject</strong> changed from <i>inherit_members field value of project via REST API</i> to <i>Add inherit_members to projects API response</i></li><li><strong>Target version</strong> set to <i>4.1.0</i></li></ul><p>LGTM. Setting the target version to 4.1.0.</p> Redmine - Feature #32002: Add inherit_members to projects API responsehttps://www.redmine.org/issues/32002?journal_id=935252019-09-05T04:11:13ZGo 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 your contribution.</p>
<p>Alex Sinav wrote:</p>
<blockquote>
<p>So is there plans to update REST API with this feature?</p>
</blockquote>
<p>It will be available in upcoming Redmine 4.1.0, stay tuned. Thank you for reporting this.</p> Redmine - Feature #32002: Add inherit_members to projects API responsehttps://www.redmine.org/issues/32002?journal_id=935422019-09-05T10:26:44ZAlex Sinav
<ul></ul><p>Thank you.</p>