Actions
Defect #8667
closedHow to create tickets with custom fields?
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
2011-06-22
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
Hello Jean,
You mentioned in ticket #6345 that:
You can now use the piece of xml that the API returns to update custom fields:
What I get back from the REST API is:
<custom_fields>
<custom_field name="Heading Number" id="2"/>
<custom_field name="abc_id" id="14"/>
</custom_fields>
Now, im trying to create a ticket with custom fields with the following data:
<custom_fields>
<custom_field name="abc_id" id="14">
<value>RQ_1</value>
</custom_field>
</custom_fields>
but this continues to result in (422) Unprocessable Entity.
I know the REST API is in beta status but I hope you can help me anyway.
Updated by Etienne Massip over 13 years ago
- Status changed from New to Closed
- Assignee deleted (
Jean-Philippe Lang) - Resolution set to Invalid
See Rest_Issues, #8195 and .
Actions