Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Desired Task Hierarchy
[
{
"id": 1,
"pursuance_id": 1,
"title": "Kick ass",
"title_enc": "",
"deliverables": "Finish everything. Now.",
"deliverables_enc": "",
"assigned_to": null,
"created": "2017-10-20T21:48:56.834231-07:00",
"parent_task_id": null,
"parent_task_pursuance_id": 1,
"subtasks": [
{
"id": 3,
"pursuance_id": 1,
"title": "Child of \"Kick ass\"",
"title_enc": "",
"deliverables": "Finish everything. AGAIN.",
"deliverables_enc": "",
"assigned_to": null,
"created": "2017-10-20T21:49:27.671124-07:00",
"parent_task_id": 1,
"parent_task_pursuance_id": 1,
"subtasks": [
{
"id": 7,
"pursuance_id": 1,
"title": "Grandchild of \"Kick ass\"",
"title_enc": "",
"deliverables": "Finish everything. A fourth time.",
"deliverables_enc": "",
"assigned_to": null,
"created": "2017-10-20T21:53:35.897529-07:00",
"parent_task_id": 3,
"parent_task_pursuance_id": 1
}
]
},
{
"id": 5,
"pursuance_id": 1,
"title": "Child 2 of \"Kick ass\"",
"title_enc": "",
"deliverables": "Finish everything. A third time.",
"deliverables_enc": "",
"assigned_to": null,
"created": "2017-10-20T21:50:51.386551-07:00",
"parent_task_id": 1,
"parent_task_pursuance_id": 1
}
]
},
{
"id": 2,
"pursuance_id": 1,
"title": "Take names",
"title_enc": "",
"deliverables": "",
"deliverables_enc": "",
"assigned_to": null,
"created": "2017-10-20T21:48:56.834231-07:00",
"parent_task_id": null,
"parent_task_pursuance_id": 1,
"subtasks": [
{
"id": 4,
"pursuance_id": 1,
"title": "Child of \"Take names\"",
"title_enc": "",
"deliverables": "",
"deliverables_enc": "",
"assigned_to": null,
"created": "2017-10-20T21:49:27.671124-07:00",
"parent_task_id": 2,
"parent_task_pursuance_id": 1,
"subtasks": [
{
"id": 8,
"pursuance_id": 1,
"title": "Grandchild of \"Take names\"",
"title_enc": "",
"deliverables": "",
"deliverables_enc": "",
"assigned_to": null,
"created": "2017-10-20T21:53:35.897529-07:00",
"parent_task_id": 4,
"parent_task_pursuance_id": 1
}
]
},
{
"id": 6,
"pursuance_id": 1,
"title": "Child 2 of \"Take names\"",
"title_enc": "",
"deliverables": "",
"deliverables_enc": "",
"assigned_to": null,
"created": "2017-10-20T21:50:51.386551-07:00",
"parent_task_id": 2,
"parent_task_pursuance_id": 1
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.