I keep getting the following response: Invalid custom field item value.
I’ve tried using both of these in the request body but neither work
{"value":{"dropdown":"text"}}
{"value":{"list":"text"}}
{"value":{"list":"{idOfDropdownOption}"}}
{"value":{"dropdown":"{idOfDropdownOption}"}}
A normal text/number field works perfectly but can’t figure out why the dropdown one doesn’t work at all.
Hi Ashley,
Try it like this:
PUT 1/cards/<card_id>/customField/<field_id>/item
With payload:
{ "idValue": "<value_id>" }
I.e. for options, you need to set idValue instead of value.
Thanks, that's worked.
Bit confusing as there's nothing in the documentation about this changing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have a similar problem. Below is a small snipit of what I currently have. Customfield 11111is multi-select field that works as is but I keep getting errors on the dropdown (customfield 33333). Where am I going wrong?
{
"fields": {
"project": { "key": "PROJECT" },
"customfield_11111": [ {"id":"22222"} ],
"customfield_33333": {"idValue":"44444"},
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found my error. I just had to remove Value from idValue and it worked.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.