Subtasks are duplicated when using the API only

Hey there,

I am trying to set up a specific structure for my company and the issue I’m having is probably expected behavior but I was hoping someone would be able to help me get my desired outcome.

When you create a subtask in the UI it does not duplicate that sub task anywhere else, but when you use the API

https://app.asana.com/api/1.0/tasks/${TaskGid}/subtasks

it will create the subtask as intended but then also a duplicate that sits outside of the sections. Is there a way to have the manual outcome (no duplication) while using the API?

Example below:
example

Thank you

That’s probably because when you create a subtask you also give a project, which is the reason why your subtask would also be added as a task :slight_smile:

2 Likes

Ahh I see, thank you for the reply! That clears it up :slight_smile: