Unable to set custom fields for versions using the REST API
|Assignee:||Jean-Philippe Lang||% Done:|
When uusing the REST API to update the versions (using the xml format), the custom fields are ignored if the syntax is used as described on http://www.redmine.org/projects/redmine/wiki/Rest_api
After modifying the
app/model/version.rb similar to r9783 it worked. The solution is therefore pretty simple.
I only checked to update the versions. Maybe this bug is also present for other models.
#1 Updated by Jean-Philippe Lang about 8 years ago
- Subject changed from Unable to set custom fields for versions using the REST API POST/PUT to Unable to set custom fields for versions using the REST API
- Status changed from New to Resolved
- Assignee set to Jean-Philippe Lang
- Target version set to 2.3.2
- Resolution set to Fixed
Fixed in r11760 with a test, I've checked the other models.
Thanks for pointing this out.