Content
View differences
Updated by Niels Lindenthal over 2 years ago
# Acceptance criteria ### **Environment**:
* Status can not be connected with a % Complete value (deprecated in #52130) Your OpenProject Version: **OpenProject 12.0.6**
### **Steps to reproduce:**
1. Go to page Work packages
* "Rejected" children are excluded from the calcuation (#49409) 2. Create Parent task and Children tasks
* If there is no work entered it is not possible to enter a % Complete
* The reason is: An unfinished work package (< 100 %) needs a value vor Remaining work. There can not be Remaining work if there is no Work.
* The correct calculation is specified 3. Select false information about progress in <mention class="mention" data-id="40867" data-type="work_package" data-text="#40867">#40867</mention>
* Remaining work the parent task
### **Actual Behavior**
I have one Parent task and % Complete can only be entered for a work package that has Work defined
* When creating a new work package work 20 children tasks. One children task it is 0 h.
* When clicking on on 5% of the attributes (Work, Remaining work, % complete) the modal opens
* In the modal the fields Remaining work and % Complete are deactivated. The field work parent\`s progress, all 20 tasks it is active (not mandatory).
* After entering a value to Work, the Remaining work is derived.
* Example: Work 10 h, Remaining work 10 h, % Complete 0%)
* Example: Work 10 h, Remaining work 5 h, % Complete 50%)
* Delting the field Work deletes % Complete and Remaining Work 100%.
**Current (wrong) calcuation 13.2**
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/88713/content"></div><figcaption class="op-uc-figure--description">https://niels.openproject-edge.com/projects/progress-calculation-1/work_packages?query_id=338</figcaption></figure> src="/api/v3/attachments/26774/content"></div></figure>
**Correct calculation** Now I have Task #4-5 completed to ~100%, Task #1-2 completed to ~50%. It means that two task add 10% to progress, other two task add 5% to progress.
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/88712/content"></div><figcaption class="op-uc-figure--description">https://community.openproject.org/api/v3/file_links/1269/open</figcaption></figure> **That\`s why I want to see 15% of progress in Parent task, but I see 57%**. More than half of children tasks(16) not start work on.
I can\`t see clear analytics of my tasks, because progress has wrong value.
### **Expected Behavior**
I want see progress of the task calculate from the 1st level of children tasks. Information about the 2d and other levels I can check in they parents.
* Status can not be connected with a % Complete value (deprecated in #52130)
### **Steps to reproduce:**
1. Go to page Work packages
* "Rejected" children are excluded from the calcuation (#49409)
* If there is no work entered it is not possible to enter a % Complete
* The reason is: An unfinished work package (< 100 %) needs a value vor Remaining work. There can not be Remaining work if there is no Work.
* The correct calculation is specified
* Remaining work
### **Actual Behavior**
I have one Parent task
* When creating a new work package work
* When clicking on on
* In the modal the fields Remaining work and % Complete are deactivated. The field work
* After entering a value to Work, the Remaining work is derived.
* Example: Work 10 h, Remaining work 10 h, % Complete 0%)
* Example: Work 10 h, Remaining work 5 h, % Complete 50%)
* Delting the field Work deletes % Complete and Remaining Work
**Current (wrong) calcuation 13.2**
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/88713/content"></div><figcaption class="op-uc-figure--description">https://niels.openproject-edge.com/projects/progress-calculation-1/work_packages?query_id=338</figcaption></figure>
**Correct calculation**
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/88712/content"></div><figcaption class="op-uc-figure--description">https://community.openproject.org/api/v3/file_links/1269/open</figcaption></figure>
I can\`t see clear analytics of my tasks, because progress has wrong value.
### **Expected Behavior**
I want see progress of the task calculate from the 1st level of children tasks. Information about the 2d and other levels I can check in they parents.