How to use API method for Creating Subtasks? The Subtasks are duplicating outside the Parent Task.
I am trying to create Subtasks under a specific Parent Task. The API created the Subtask under the Parent task but also is duplicating under the folder that the Parent Task is in as shown here:
I am currently using the end point specifying the {folderId} and adding the "superTasks" parameter. Can you give some guidance on what is going on here and explain what the mean in the docs for Creating Tasks that says "When creating a subtask, use the Root API ID as {folderId} and specify the parent task in the 'superTasks' parameter."
Hi Nicholas,
I came across your post and wanted to share a solution, as I recently encountered and resolved this exact issue after several days of troubleshooting.
The key point is that when creating a subtask, the
folderId
should be set to therootFolderId
of your account, not thefolderId
of your project or parent folder. You can retrieve therootFolderId
by running the Get account information endpoint (example below) using Postman or any other API client you’re using:In the response, look under
data > rootFolderId
.Hope this helps!