Subtasks, Project Custom Fields, and Webhooks: Is this workflow supported?

Hi everyone,

I’m running into what seems to be a limitation of the Asana data model and was wondering if there’s a recommended solution or workaround.

My use case is:

  • A parent task belongs to a project.

  • I create subtasks under that parent task.

  • I want the subtasks to appear only under the parent task, not as standalone tasks in the project’s task list.

  • At the same time, I need to populate project custom fields on those subtasks and receive updates through a project (or any other?) webhook.

The problem is:

  • If the subtask is not added to the project, I can’t set the project’s custom fields on it.

  • If I do add the subtask to the project, it appears as a top-level task in the project, which is exactly what I’m trying to avoid.

Is there any supported way to:

  • keep subtasks visible only under their parent task,

  • still use project-specific custom fields on them,

  • and receive their updates through a project webhook?

Or is this simply a limitation of how Asana currently models subtasks and project memberships?

I’d appreciate any insights or recommended best practices. Thanks!

Hi @André_NOV!

Subtasks automatically inherit their parent task’s custom fields, so you should be able to read and update those custom field values through both the API and the Asana UI without explicitly adding the subtask to the project.

The main limitation in this scenario is with webhooks. Since subtasks are not actually members of the parent project (they simply inherit context from their parent task), new subtasks won’t trigger webhooks that are subscribed to the project.

There are a few ways to work around this, depending on your workflow. For example, if you’re creating subtasks via the API, you could temporarily add them to a separate project that your webhook is subscribed to. You can think of this project as a processing queue, once the webhook is triggered and your integration has processed the event, you can remove the subtask from that project via the API. This allows you to receive webhook events while keeping your primary workflow unchanged.

@André_NOV,

I’ve marked @Dominik_Brdak’s great answer as the Solution, but wanted to offer another alternative in case you wanted to avoid the additional project required.

A common workaround for years has been to have a section in the project, kept collapsed, present at the very bottom after all other sections, and called something like “Hidden Subtasks” or some other less scary name. Then you “home” the subtasks into the project and into this particular collapsed section, thereby workaround around (mostly) the side effect of the task appearing in the main tasks list. If you see this as the lesser of two evils, great, otherwise, ignore.

Thanks,

Larry

Hi @Dominik_Brdak & @lpb,

Thank you very much for your help!

I have some good news: today I created a subtask without assigning it to a project, and the webhook was triggered successfully.

So, all good I guess :smiley:

I concur 100%; I’ve been using subtask detection in our Flowsana integration for many years and it reliably sends webhook events on subtasks in a project that has a project-level webhook on it.