Defect #6187

REST API exampe needs update

Added by J Doe about 12 years ago. Updated about 12 years ago.

Status:ClosedStart date:2010-08-20
Priority:NormalDue date:2010-08-23
Assignee:-% Done:

0%

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

Description

I have the impression this section of the API documentation needs update:

issue = Issue.new(
:subject => 'REST API',
:assigned_to_id => 1,
:project_id => 1,
:custom_field_values => {2 => 'Fixed'}
)

I'm not a Ruby guru but I have the impression it should be:

:custom_field_values => {'2' => 'Fixed'}

History

#1 Updated by J Doe about 12 years ago

  • Status changed from New to Resolved

wiki edited fixed

#2 Updated by Azamat Hackimov about 12 years ago

  • Due date set to 2010-08-23
  • Category set to REST API
  • Status changed from Resolved to Closed

Also available in: Atom PDF