Project

General

Profile

Actions

Defect #15708

closed

Issue Post broken in 2.4.1

Added by Marco Descher over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

It seems like posting issues using the api is broken in 2.4.1

Started POST "/issues.xml?key=asdf" for 84.115.253.86 at 2013-12-15 20:01:46 +0100
Processing by IssuesController#create as XML
  Parameters: {"issue"=>{"id"=>"0", "subject"=>"at.medevit.redmine.rest.RedmineConnectorTest", "description"=>"at.medevit.redmine.rest.RedmineConnectorTest Description", "project_id"=>"3", "tracker_id"=>"4"}, "key"=>"asdf"}
  Current user: wfeconnector (id=4)
  Rendered common/error_messages.api.rsb (0.3ms)
Completed 422 Unprocessable Entity in 224.6ms (Views: 2.2ms | ActiveRecord: 4.1ms)

where the incoming data is

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<issue>
    <id>0</id>
    <subject>at.medevit.redmine.rest.RedmineConnectorTest</subject>
    <description>at.medevit.redmine.rest.RedmineConnectorTest Description</description>
    <project_id>3</project_id>
    <tracker_id>4</tracker_id>
</issue>
Actions #1

Updated by Marco Descher over 10 years ago

  • Status changed from New to Resolved

The error was due to a missing custom field! Thanks!

Actions #2

Updated by Toshi MARUYAMA over 10 years ago

  • Category changed from Issues to REST API
  • Status changed from Resolved to Closed
  • Resolution set to Invalid
Actions

Also available in: Atom PDF