Project

General

Profile

Actions

Defect #13850

closed

Unable to set custom fields for versions using the REST API

Added by Jürgen Diez almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Category:
REST API
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

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.

Actions #1

Updated by Jean-Philippe Lang almost 11 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.

Actions #2

Updated by Jean-Philippe Lang almost 11 years ago

  • Status changed from Resolved to Closed

Merged.

Actions

Also available in: Atom PDF