You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
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.
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.
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Community! My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. I'll be sharing with you a series of videos with my top tips on how to best use Trello...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.