Defect #15708

Issue Post broken in 2.4.1

Added by Marco Descher about 6 years ago. Updated about 6 years ago.

Status:ClosedStart date:
Priority:HighDue date:
Assignee:-% Done:

0%

Category:REST API
Target version:-
Resolution:Invalid Affected version:2.4.1

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>

History

#1 Updated by Marco Descher about 6 years ago

  • Status changed from New to Resolved

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

#2 Updated by Toshi MARUYAMA about 6 years ago

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

Also available in: Atom PDF