Hi,
I am working wtih Python and when I tried to update a custom field I have this eror
Invalid value for custom field type
PUT /1/cards/{idCard}/customField/{idCustomField}/item
Documentation example
{
"value": {
"text": "<string>",
"checked": true,
"date": "2018-03-13T16:00:00.000Z",
"number": 2154
}
}
I need to set number field but I do not know how pass this parameter in the querystring variable.
querystring = {'number': '123',"key":KEY,"token":TOKEN}
response = requests.request("PUT", url, params=querystring)
Thanks a lot for you help, I appreciate so much.
Patricio.
@Patricio_Christian_Garcia yeah the trello Custom Fields API is an absolute crime against humanity. I copied and pasted my way through it from a bunch of random StackOverflow answers, you can see the finished product here, if you look at the various function calls and so on, in my implementation of a straight forward "setCustomFieldValue" wrapper around it for my Trellinator framework:
https://github.com/iaindooley/trellinator-libs/blob/master/Card.js#L1401
I don't know enough Python to easily translate that but it's all just HTTP calls so should be easy enough to adapt to your purposes.
Hi Patricio! Welcome to Trello Community!
While there are no rules agains posting more technical questions here, developers usually have more luck in the dedicated dev community: https://community.developer.atlassian.com/c/trello
There you will be able to collaborate with other Trello Champions and Engineers.
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.