Project

General

Profile

Actions

Feature #5050

closed

REST API for Issues + custom fields

Added by Joao C. about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
2010-03-11
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid

Description

The issue is explained here: [http://www.redmine.org/boards/2/topics/12077]
I don't exactly know if this requires a new feature, is a bug or if I'm doing something wrong.

These are the versions:
Mysql Ver 14.14 Distrib 5.1.42
Ruby-1.8.7p22
Rails 2.3.5
Redmine r3313

Thank you,
JC

Actions #1

Updated by Jean-Philippe Lang about 14 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Setting custom field values through the REST API is possible.
You can see an example in ruby here: Rest_api_with_ruby

Your request should look like this:

<?xml version="1.0" encoding="UTF-8"?><issue>
  <subject>Issue_from_REST_API</subject>
  <project_id>dummy</project_id>
  <custom_field_values>
    <1>3</1>
  </custom_field_values>
</issue>
Actions

Also available in: Atom PDF