Search request for tasks in a project returns subtasks


I am doing a search request with the parameter projects.any: XXXX and that returns subtask of tasks within that project. It does make sense to me as subtasks do not inherit the project. Is it a bug @Joe_Trollo? Below the endpoint, payload and answer.

cc @Phil_Seeman the API wizard :slight_smile:

@Bastien_Siebman This actually makes sense to me as it’s consistent with the web app’s behavior - recall that at some point fairly recently, the Search function within the web app was changed such that when you search tasks in a project, it now returns subtasks even if they’re not attached to the project.

1 Like

I forgot about this, thanks!