I saw there is an expanded
field, however this remains true
even if a task is collapsed, and setting it on an existing task seems to do nothing.
Is there a way to tell programatically if a task with children is collapsed or not, and to expand/collapse existing tasks with children?