## Defect #16092

Updated by Toshi MARUYAMA about 4 years ago

We defined 1-level issue with estimated time 10 hours.

Once we defined subtask for 1-level issue with estimated time 15 hours, we got 15 hours in parent task. (should be 25 15 hours in parent)

Once we defined subtask for above subtask with estimation 20 hours, above subtask became with 20 hours and parent task became 20 hours. (should be 45 in parent)

If we define another subtask for 1-level issue with estimation 30 hours, then parent task make sum of two subtasks on 2-level and total time for parent task will be 50 hours. (should be 75 in parent)

But in general, with such arithmetic we're losing hours. Each task which has subtask should make a sum of it's own estimation hours with all hours that defined in his subtasks, not round to hours in subtasks.

Once we defined subtask for 1-level issue with estimated time 15 hours, we got 15 hours in parent task. (should be 25 15 hours in parent)

Once we defined subtask for above subtask with estimation 20 hours, above subtask became with 20 hours and parent task became 20 hours. (should be 45 in parent)

If we define another subtask for 1-level issue with estimation 30 hours, then parent task make sum of two subtasks on 2-level and total time for parent task will be 50 hours. (should be 75 in parent)

But in general, with such arithmetic we're losing hours. Each task which has subtask should make a sum of it's own estimation hours with all hours that defined in his subtasks, not round to hours in subtasks.