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
Add a section in code that links between the Pocket article and the Trello card:
Each Pocket article should have a tag with the Trello card ID
Each Trello card should have a pocket_article_id custom field with a value of the pocket article ID. (Since custom fields is a power-up in Trello, this feature should be enabled explicitly in the configuration file).
In addition to checking the newly-added articles, now the newly-archived articles should be also checked, and for each one of them, the appropriate Trello card should be moved into a predefined list (the list ID should be a new field in the configuration file).
py_trello enables reading custom fields (card.customFields), but not setting them.
Make sure to request a feature of setting custom fields in py_trello.
For getting a card's pocket_article_id (if set), use: [field.value for field in card.customFields if field.name == 'pocket_article_id']. This will be a list with a single element with the ID value if exists, or an empty list if there's no such value.
The text was updated successfully, but these errors were encountered:
Add a section in code that links between the Pocket article and the Trello card:
pocket_article_id
custom field with a value of the pocket article ID. (Since custom fields is a power-up in Trello, this feature should be enabled explicitly in the configuration file).In addition to checking the newly-added articles, now the newly-archived articles should be also checked, and for each one of them, the appropriate Trello card should be moved into a predefined list (the list ID should be a new field in the configuration file).
Additional notes:
py_trello
enables reading custom fields (card.customFields
), but not setting them.py_trello
.pocket_article_id
(if set), use:[field.value for field in card.customFields if field.name == 'pocket_article_id']
. This will be a list with a single element with the ID value if exists, or an empty list if there's no such value.The text was updated successfully, but these errors were encountered: