Filter tasks and comments by comment date
Vinoth Goldwyn
There is no way to ask the API "which comments were posted in this date range". Comments can only be reached by walking tasks one at a time and filtering client side.
We run a daily review across one folder of roughly 200 open tasks. To answer "what was discussed yesterday" we enumerate 44 tasks and make between 250 and 350 comment calls every morning, then discard almost all of it. The answer we want is usually 30 to 40 comments.
Any one of the following would solve it:
- A date_fromanddate_tofilter on the get task comments endpoint.
- A workspace-level or list-level recent comments endpoint accepting a date range.
- commentadded as an asset type in search, with a date filter.
Log In