Content
View differences
Updated by Niels Lindenthal over 2 years ago
**As a** project manager ### Steps to reproduce
**I want to** exclude rejected work packages from the calculation of work, remaining work 1. create 3 work-packages (parent with child1 and percentage complete for child2)
2. set child1.progress%=50
3. check parent.progress% (should be 25%)
4. set child1.status=closed
5. check parent.progress% (should be 25%)
6. set child1.progress%=75
7. check parent.progress% (should be 40%, but is 50%)
8. set child1.progress%=0
9. check parent.progress% (should be 0%, but is 50%)
### What is the parent work packages buggy behavior?
**So that I** can clean up my estimates and the progress 1. parent.progress% recalc is only triggered when rejecting child work packages.
**Acceptance criteria**
child1.progress% is set
* Each work package status can me configured as "exclude from not triggered by child1.status although the parent's calcuation of progress calculation and work estimates", e.g. for status "rejected". progress% depends on it
* Adapt seed data
* Exclude child work packages that have a 2. parent.progress% depends status that although config is: <img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/64039/content">
### What is marked as "excluded from the parent's calcuation..." from the calcuation of
* Work
* Remaining work
* % complete expected behavior?
1. parent.progress% recalc is triggered for both changes in child1.progress% AND changes in child1.status
* "Rejecting" 2. system adheres to system config value
## Additional note
It would be cool to have more options, namely:
1. Calculate the work package does not change done ratio with: Use the attributes number of Work, Remaining work the work-package field and % Complete. They are still visible. Reverting the status assume closed to another "non-rejected" status includes it in the calcuation be 100% (current behavior)
* After changing 2. Calculate the status work package done ratio with: Use the recalculation number of child work-packages (#closed / #children)
3. Calculate the parent work package is triggered done ratio with: Use the number of child estimate-weighted work-packages (Σclosed / Σchildren)
* There is database migration that exclude 4. Calculate the "rejected" work package from done ratio with: Use the calculated values.
**Out number of scope** child progress-estimate-weighted work-packages (Σ (closed\*progress) / Σchildren)
* <mention class="mention" data-id="52130" data-type="work_package" data-text="#52130">#52130</mention> **OpenProject version**
_v12.5.7_
**I want to** exclude rejected work packages from the calculation of work, remaining work
2. set child1.progress%=50
3. check parent.progress% (should be 25%)
4. set child1.status=closed
5. check parent.progress% (should be 25%)
6. set child1.progress%=75
7. check parent.progress% (should be 40%, but is 50%)
8. set child1.progress%=0
9. check parent.progress% (should be 0%, but is 50%)
### What is
**So that I** can clean up my estimates and the progress
**Acceptance criteria**
* Adapt seed data
* Exclude child work packages that have a
### What
* Work
* Remaining work
* % complete
1. parent.progress% recalc is triggered for both changes in child1.progress% AND changes in child1.status
* "Rejecting"
## Additional note
It would be cool to have more options, namely:
1. Calculate
* After changing
3. Calculate
* There is database migration that exclude
**Out
* <mention class="mention" data-id="52130" data-type="work_package" data-text="#52130">#52130</mention>
_v12.5.7_