Get tasks without sections

Hi community!

i’m developing a software integrated with asana API.
All is fine, but…
anyone knows how to get tasks without sections?
I try with all parameters but in the response there is no param or mark for resolve this issue.

I’m getting the tasks by project, cause I need all task, not only the tasks assiggned to me,
I’m using php-asana.

I hope someone can understand what I meant and can help me.

Bye and thanks!

1 Like

I forgot to say that I do this by seeing the last character of the task name if it is other than ‘:’, I print, but it is not the best way to do it.

Thanks!

Hi @German — I’m looping in our Developer Relations colleague, @Jeff_Schneider, who should be able to help here!

1 Like

Hi German,

Unfortunately, there is currently no way to make a filtered query to only return tasks and not sections. There are two workarounds. You can do what you’re already doing by looking for the : or you could get all sections in a project and then use that list to remove sections from the task list. The second option would require two calls, so you may want to just continue with your current approach.

Let us know if you have any other questions!

1 Like

thanks for the reply and your attention.