Can we use Get multiple tasks API to get comments data (like adding ‘opt_fields’)? or it can only get tasks of a project and then need to call Get stories from a task API for each task to get comments of all the tasks.
Is there any fast ways to get all task comments data?
If we want to use modified_since parameter of Get multiple tasks API to get new/modified comments of tasks since last timestamp, it seems it only effects when adding new comments, if editing old comments, it won’t be returned in the response. Is this correct?
That’s it. Comments (stories in the API) re a separate object from tasks; you can’t get them both in one API call.
While I haven’t tested this myself, based on this list of properties from the Asana team I think you’re right that editing a comment doesn’t update modified_since:
This is also consistent with the documentation for modified_since which says:
Actions that count as modifying the task
include assigning, renaming, completing, and adding stories.
The boldface is mine - note it says “adding” stories and doesn’t mention editing them.