we are using
inlinetasks/search endpoint to fetch tasks in our app. We always set query parameter
pageId to filter tasks from specific pages. We observed that endpoint returns some irrelevant tasks, i.e., tasks from pages that are not mentioned in the parameter. Example (GET) call:
In my case, it returns the following response:
Note that only one task should be returned.
After some investigation, we found out that the reason is that these pages have the parent:child relation. If you call the endpoint with the parent ID, it returns also tasks from the child page.
Is there a way how we can avoid this?
Any advices are much appreciated!