https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292010-09-20T14:17:24ZRedmineRedmine - Defect #6345: xml used by rest API is invalidhttps://www.redmine.org/issues/6345?journal_id=205412010-09-20T14:17:24ZThomas Spycher
<ul></ul><p>any update to this?</p> Redmine - Defect #6345: xml used by rest API is invalidhttps://www.redmine.org/issues/6345?journal_id=231062010-12-10T10:51:53ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li><li><strong>Target version</strong> set to <i>1.0.5</i></li><li><strong>Affected version (unused)</strong> set to <i>1.0.4</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li><li><strong>Affected version</strong> set to <i>1.0.4</i></li></ul><p>Fixed in <a class="changeset" title="Support for updating custom fields using the received custom_fields array (#6345, #6403)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/4481">r4481</a>. You can now use the piece of xml that the API returns to update custom fields:</p>
<pre>
<custom_fields>
<custom_field id="1">
<value>Foo</value>
</custom_field>
...
</custom_fields>
</pre> Redmine - Defect #6345: xml used by rest API is invalidhttps://www.redmine.org/issues/6345?journal_id=232452010-12-16T14:55:53ZBruno Medeiros
<ul></ul><p>If <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Updating an issue with custom fields fails (Closed)" href="https://www.redmine.org/issues/6403">#6403</a> needed to be scheduled for 1.1.0, Shouldn't this issue be to 1.1.0 too?</p> Redmine - Defect #6345: xml used by rest API is invalidhttps://www.redmine.org/issues/6345?journal_id=234152010-12-23T09:49:21ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li><li><strong>Target version</strong> changed from <i>1.0.5</i> to <i>1.1.0</i></li></ul><p>You're right. No feedback, I think it can wait 1.1.</p> Redmine - Defect #6345: xml used by rest API is invalidhttps://www.redmine.org/issues/6345?journal_id=248342011-02-04T14:08:39ZFlorent Fievez
<ul></ul><p>The Example is bad, good one : <br /><pre>
<custom_fields type="array">
<custom_field id="1">
<value>Foo</value>
</custom_field>
...
</custom_fields>
</pre></p> Redmine - Defect #6345: xml used by rest API is invalidhttps://www.redmine.org/issues/6345?journal_id=583312014-08-28T08:21:08ZMarco Descher
<ul></ul><p>I just tried the following input</p>
<pre>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<issue>
<id>3273</id>
<subject>ch.elexis.base.ch.legacy.feature.feature.group</subject>
<description/>
<start_date>2014-08-20T00:00:00+02:00</start_date>
<project_id>0</project_id>
<tracker_id>0</tracker_id>
<custom_fields type="array">
<custom_field id="2" name="Abostatus">
<value>EXPIRED</value>
</custom_field>
</custom_fields>
<project id="3" name="Praxis Dr. Mustermann"/>
<tracker id="4" name="Service"/>
</issue>
</pre>
<p>where the custom field is an enumeration, the value however is not updated to the provided EXPIRED.</p>
<p>This is Redmine 2.4.3.stable</p> Redmine - Defect #6345: xml used by rest API is invalidhttps://www.redmine.org/issues/6345?journal_id=588682014-09-26T11:41:30ZToshi MARUYAMA
<ul></ul><p>Marco Descher wrote:</p>
<blockquote>
<p>I just tried the following input</p>
<p>[...]</p>
<p>where the custom field is an enumeration, the value however is not updated to the provided EXPIRED.</p>
<p>This is Redmine 2.4.3.stable</p>
</blockquote>
<p>FTR:<br /><a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: REST API to update custom fields in issues does not work (Closed)" href="https://www.redmine.org/issues/17760">#17760</a></p>