Content
View differences
Updated by Niels Lindenthal almost 4 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 time "-" ("-" is currently (12.1) included into the calculation with by 8 h. It This is completely unclear to almost impossible for users to understand this assumption. all user. It is also not documented.
**Example 1**: The estimated time of Example: _Grandchild 1.1.2_ is 0 h. The algorithm therefore implicitly assumes has an implicit estimated time of 8 h. This leads to a Progress % for Child 1.1 of 50 %. Since the estimated time for _Grandchild 1.1.2_ is "0" it must not be included into the progress calculation of Child 1.1.
2. It is not possible to set a percentage % for a parent work package.
**Example 2**: Example: The estimated time for Child 1.1 itself is 24 16 h. It is not possible to define Progress % for those 24 16 h. The shown 50 % is derived from the _Grandchildren 1.1.1_ and _Grandchildren 1.1.2_.
## Expected behavior
Calculation logic: https://nextcloud.openproject.org/index.php/s/j45k7oqPo2R2iot
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/36002/content">
* Unset estimated time is included by 0 h into the calculation (not 8 h).
* It is possible to set the Progress % for the estimated time of parent work packages.
* The Progress % value calculated for children work packages are indicated in brackets (similar to estimated time).
## Visuals
[https://www.figma.com/file/iVzhExjBr2fmOpYTEwYZYU/Progress-representation?node-id=9%3A5459](https://www.figma.com/file/iVzhExjBr2fmOpYTEwYZYU/Progress-representation?node-id=9%3A5459)
## Alternative concepts
<img class="op-uc-image op-uc-image_inline" style="width:772px;" src="/api/v3/attachments/36015/content"> https://www.figma.com/file/iVzhExjBr2fmOpYTEwYZYU/Progress-representation?node-id=9%3A5459
**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 time "-"
**Example 1**: The estimated time of
2. It is not possible to set a percentage % for a parent work package.
**Example 2**:
## Expected behavior
Calculation logic: https://nextcloud.openproject.org/index.php/s/j45k7oqPo2R2iot
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/36002/content">
* Unset estimated time is included by 0 h into the calculation (not 8 h).
* It is possible to set the Progress % for the estimated time of parent work packages.
* The Progress % value calculated for children work packages are indicated in brackets (similar to estimated time).
## Visuals
[https://www.figma.com/file/iVzhExjBr2fmOpYTEwYZYU/Progress-representation?node-id=9%3A5459](https://www.figma.com/file/iVzhExjBr2fmOpYTEwYZYU/Progress-representation?node-id=9%3A5459)
## Alternative concepts
<img class="op-uc-image op-uc-image_inline" style="width:772px;" src="/api/v3/attachments/36015/content">