Project

General

Profile

Actions

Defect #6187

closed

REST API exampe needs update

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

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
2010-08-20
Due date:
2010-08-23
% Done:

0%

Estimated time:
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'}
Actions

Also available in: Atom PDF