Content
View differences
Updated by Christophe Bliard over 2 years ago
### **Environment**:
**OpenProject 12.2 RC**
### Current behavior and steps to reproduce
<img class="op-uc-image op-uc-image_inline" style="width:697px;" src="/api/v3/attachments/36001/content">
[https://niels.openproject-edge.com/projects/progress-calculation-1/work\_packages?query\_id=338](https://niels.openproject-edge.com/projects/progress-calculation-1/work_packages?query_id=338)
1. Unset estimated times are not considered as 0 h.
2. It is not possible to set a percentage % for the estimated time that is defined for a parent work package.
**Example 2**: The estimated time for Child 1.1 itself is 24 h. It is not possible to define Progress % for those 24 h. The shown 50 % is derived from the _Grandchildren 1.1.1_ and _Grandchildren 1.1.2_.
## Expected behavior
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/47266/content">
* For the estimated time field it is possible to understand whether a value is empty (not set) or set to 0 h. This allows to better understand if an estimate has been made or not.
* Unset estimated time is included by 0 h into the calculation.
* It is possible to set the Progress % for the estimated time of a parent work packages.
* The Progress % value for a work package has two values:
* The Progress % for the estimated time of the parent work package itself.
* The Total Progress % that also includes all children work packages.
* When filtering child work packages from the list the sum values after "Σ" remain unchanged. The percentage % for the filtered work packages only includes the values of the filtered work packages. It does not include the values from children values which are filtered out.
## Visuals
[https://www.figma.com/file/znrocQvFNLb5jXRXNo7oeD/Progress-estimation?node-id=52-9257](https://www.figma.com/file/znrocQvFNLb5jXRXNo7oeD/Progress-estimation?node-id=52-9257) [https://www.figma.com/file/iVzhExjBr2fmOpYTEwYZYU/Progress-representation?node-id=9%3A5459](https://www.figma.com/file/iVzhExjBr2fmOpYTEwYZYU/Progress-representation?node-id=9%3A5459)
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/47267/content">
## Alternative concepts
Work packages that has children get their estimated time automatically calculated from this ones and can't have an own estimate. Adding a subtask deletes the values entered for the summary task.
<img class="op-uc-image op-uc-image_inline" style="width:772px;" src="/api/v3/attachments/36015/content">
### Related bug reports:
##49409
**OpenProject 12.2 RC**
### Current behavior and steps to reproduce
<img class="op-uc-image op-uc-image_inline" style="width:697px;" src="/api/v3/attachments/36001/content">
[https://niels.openproject-edge.com/projects/progress-calculation-1/work\_packages?query\_id=338](https://niels.openproject-edge.com/projects/progress-calculation-1/work_packages?query_id=338)
1. Unset estimated times are not considered as 0 h.
2. It is not possible to set a percentage % for the estimated time that is defined for a parent work package.
**Example 2**: The estimated time for Child 1.1 itself is 24 h. It is not possible to define Progress % for those 24 h. The shown 50 % is derived from the _Grandchildren 1.1.1_ and _Grandchildren 1.1.2_.
## Expected behavior
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/47266/content">
* For the estimated time field it is possible to understand whether a value is empty (not set) or set to 0 h. This allows to better understand if an estimate has been made or not.
* Unset estimated time is included by 0 h into the calculation.
* It is possible to set the Progress % for the estimated time of a parent work packages.
* The Progress % value for a work package has two values:
* The Progress % for the estimated time of the parent work package itself.
* The Total Progress % that also includes all children work packages.
* When filtering child work packages from the list the sum values after "Σ" remain unchanged. The percentage % for the filtered work packages only includes the values of the filtered work packages. It does not include the values from children values which are filtered out.
## Visuals
[https://www.figma.com/file/znrocQvFNLb5jXRXNo7oeD/Progress-estimation?node-id=52-9257](https://www.figma.com/file/znrocQvFNLb5jXRXNo7oeD/Progress-estimation?node-id=52-9257)
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/47267/content">
## Alternative concepts
Work packages that has children get their estimated time automatically calculated from this ones and can't have an own estimate. Adding a subtask deletes the values entered for the summary task.
<img class="op-uc-image op-uc-image_inline" style="width:772px;" src="/api/v3/attachments/36015/content">
### Related bug reports:
##49409