You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Above seems to be validate during my test.
I changed if custom_field.field_type in ['text', 'number', 'date', 'checked']:
to if custom_field.field_type in ['text', 'number', 'date', '**checkbox**]:
and hardcoded this post_args = {'value': {str(custom_field.field_type): value}}
as post_args = {'value': 'checked' : value}}
and my code was able to execute
The text was updated successfully, but these errors were encountered:
There is some inconsistency found in set_custom_fields for what used to be type = 'checked'
The Trello api documentation is as follows
But when updating a CF it is still using {'checked' : value}...below is copied from the example from Trello API document
Above seems to be validate during my test.
I changed
if custom_field.field_type in ['text', 'number', 'date', 'checked']:
to
if custom_field.field_type in ['text', 'number', 'date', '**checkbox**]:
and hardcoded this
post_args = {'value': {str(custom_field.field_type): value}}
as
post_args = {'value': 'checked' : value}}
and my code was able to execute
The text was updated successfully, but these errors were encountered: