Task Types Not Available in Search API endpoint

I am a Sunsama and Asana user and tasks using a custom made task type in Asana do not show up in Sunsama. After connecting with Sunsama’s support, they determined that custom task types do not appear to be currently supported with the search tasks API endpoint ( Search tasks in a workspace ). Are there plans to update the endpoint to allow for this?

@Peyton_Lee maybe you can reply here? (This is probably related to the “Custom task types in Advanced Search” topic?)

1 Like

I’ve managed to create custom AI generated actions in Zapier to get tasks based on the custom task type’s status GID. So if that GID is known, you can use the Get tasks endpoint.

You can get the custom task type and its status GIDs using the specific custom task type endpoint.

1 Like

Hi @pdmcdermott , thanks for flagging this and for the context from Sunsama.

I tried to reproduce this using the Search tasks in a workspace endpoint, and in my tests tasks with custom task types do show up in the search results as expected.

What likely happens is that the API client is filtering on resource_subtype: "default_task". Custom-type tasks carry resource_subtype: "custom", and I can see them reliably in the raw search response.

Hi Mikhail,

Thanks for testing and for the troubleshooting step. I’ve clued in the Sunsama team to this thread, but I will forward separately to them as well.

Thanks!

Patrick McDermott
patrickmcdermott.me