https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292014-05-02T11:53:11ZRedmineRedmine - Feature #16523: RESTful API: Expose custom fields project relationshttps://www.redmine.org/issues/16523?journal_id=561512014-05-02T11:53:11ZToshi MARUYAMA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/16522">Feature #16522</a>: RESTful API: Expose tracker standard fields assignments</i> added</li></ul> Redmine - Feature #16523: RESTful API: Expose custom fields project relationshttps://www.redmine.org/issues/16523?journal_id=710042016-05-18T19:30:12ZAnonymous
<ul></ul><p>+1 to extend the API</p> Redmine - Feature #16523: RESTful API: Expose custom fields project relationshttps://www.redmine.org/issues/16523?journal_id=715902016-06-16T04:56:30ZToshi MARUYAMA
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/71590/diff?detail_id=55623">diff</a>)</li></ul> Redmine - Feature #16523: RESTful API: Expose custom fields project relationshttps://www.redmine.org/issues/16523?journal_id=807522017-08-21T09:28:55ZScott Little
<ul></ul><p>I also would like to extend the API to have this information.</p>
<p>To be more precise about the description, at least for me (and I think the original poster) — what needs to be exposed is the <b>issue custom fields</b> that are relevant for a project.</p>
<p>For me, it would actually be appropriate to have one the following values on the `custom_fields.:format` API result:</p>
<pre><code>all_projects: [true|false]<br />project_ids: [list of ids]</code></pre> Redmine - Feature #16523: RESTful API: Expose custom fields project relationshttps://www.redmine.org/issues/16523?journal_id=982412020-06-17T08:46:32ZTom Quern
<ul></ul><p>This feature request is 6 years old. Are there any plans to eventually implement it?</p>
<p>An alternative approach to what was suggested above could be adding another parameter to the projects endpoint i.e. /projects.xml?include=custom_fields. See here of other parameters already available: <a class="external" href="https://www.redmine.org/projects/redmine/wiki/Rest_Projects#Showing-a-project">https://www.redmine.org/projects/redmine/wiki/Rest_Projects#Showing-a-project</a></p>
<p>That way the API would expose the same information as presented in the 'Issue tracking' tab in the '/projects/<your-project>/settings/issues' page</p> Redmine - Feature #16523: RESTful API: Expose custom fields project relationshttps://www.redmine.org/issues/16523?journal_id=982422020-06-17T08:53:56ZTom Quern
<ul></ul><p>Or is this is duplicate (and fixed by) <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Add option to include enabled issue custom fields in projects#show API response (Closed)" href="https://www.redmine.org/issues/33301">#33301</a> ?</p> Redmine - Feature #16523: RESTful API: Expose custom fields project relationshttps://www.redmine.org/issues/16523?journal_id=982452020-06-17T09:45:27ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Tom Quern wrote:</p>
<blockquote>
<p>Or is this is duplicate (and fixed by) <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Add option to include enabled issue custom fields in projects#show API response (Closed)" href="https://www.redmine.org/issues/33301">#33301</a> ?</p>
</blockquote>
<p>You are right. The feature will be available in the upcoming Redmine 4.2.0.</p> Redmine - Feature #16523: RESTful API: Expose custom fields project relationshttps://www.redmine.org/issues/16523?journal_id=982462020-06-17T09:45:50ZGo MAEDA
<ul><li><strong>Is duplicate of</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/33301">Feature #33301</a>: Add option to include enabled issue custom fields in projects#show API response</i> added</li></ul>