Bei den Projecttasks, passen die (https://api.awork.com/api/v1/projects/projecttasks) Taskstatus.totalPlannedDuration in Summe auch nicht zu dem, was awork anzeigt und tatsächlich in den Tasks verplant ist.
I checked the issue. The project plannedDuration is the sum of all plannedDuration on all tasks in the project and the same as the sum of all totalPlannedDuration of parent tasks (so tasks without a parentId). The totalPlannedDuration of a parent task is the sum of all plannedDuration of all subtasks + the plannedDuration on the task itself.
For this project all values currently match 15778800, so I would need some more information here, which task in particular does not have a correct value.
In the UI for the total planned duration of a project we are also now using another property called totalPlannedDurationWithHierarchy which uses another way of calculating the total, so that TaskLists and parent tasks act as a container.
Example:
tasklist - 1h plannedDuration
parent task in list - 1h plannedDuration, 2h totalPlannedDuration
sub task - 1h plannedDuration
This would result in plannedDuration on the project of 2h (sum of plannedDuration of tasks, tasklist excluded) and totalPlannedDurationWithHierarchy of 1h.
Does this answer your question? If not, I would need a specific example where the times don’t match so I can investigate further. It would be best to open a support ticket for this, as then we can immediately get the exact project etc.