Retrieving Subtasks

Hello!

A question on how to view subtasks.

Currently, I am retrieving tasks in a project with: 

`conn.request("GET", f"/api/v4/folders/{project_id}/tasks", headers=headers)`
 
this works to get the first-layer of tasks in a project. However, our projects are structured as tasks holding place as different phases of the project.
like -
|__ Design Phase
|____task1
|____task2
|__Prep Phase
|____task1
|____task2

With the above-mentioned code, I am only getting 'Design Phase' and 'Prep Phase' returned.

How would I retrieve their subtasks, and the comments/attachments connected to these subtasks?


Thank you for the help!
0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos
3 commentaires

Hi Matthew Gray, I can see that our Support agent helped you with your question 👍

Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Lisa Wrike Team member Become a Wrike expert with Wrike Discover

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Yes, this is super helpful. Thank you! Lisa

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Glad to help Matthew Gray 🙂

Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Lisa Wrike Team member Become a Wrike expert with Wrike Discover

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Folllowing List for Post: Retrieving Subtasks
[this list is visible for admins and agents only]

Haut de la page
Didn’t find what you were looking for? Write new post