sarumont / py-trello

Python API wrapper around Trello's API
BSD 3-Clause "New" or "Revised" License
945 stars 330 forks source link

get_custom_field_by_name fails to retrieve custom field value #302

Open seanxiangct opened 4 years ago

seanxiangct commented 4 years ago

x.get_custom_field_by_name(cf_name='PRIORITY TYPE') Out[28]:

priority_type = x.fetch_custom_fields()[2] priority_type.name Out[32]: 'PRIORITY TYPE' x.get_custom_field_by_name(priority_type.name) Out[33]: priority_type.value Out[34]: '3 - can miss one run'

xu2xulim commented 4 years ago

@salmonlon Have the same issue here with get_custom_field_by_name and validated using the steps you provided and was able to proceed.