Content
Updated by Christophe Bliard 12 days ago
**As a** project manager
**I want to** exclude rejected or duplicate work packages from the calculation of total work, total remaining work and total % percentage complete for the parent / ancestors work packages
**So that I** can clean up my estimates and the progress when rejecting child work packages or marking them as duplicates.
### **Acceptance criteria**
* Each work package status can be configured as "exclude from the parent's calculation of completion calculation and work estimates", e.g. for status "rejected".
* The children of an excluded work package are not excluded from the calculation. They are excluded only if their status is an excluded status.
* Exclude child work packages that have a status that is marked as "excluded from the parent's calculation..." from the calculation of
* Total work
Work
* Total remaining Remaining work
* Total % complete
* "Excluding" the work package does not change the attributes of Work, Remaining work and % Complete. They are still visible.
* Excluded work packages have a visual clue to show that they are excluded from totals calculation.
calculations.
* When a work package table view displays the sum row, the sum is for all work packages, even the ones excluded from parent's calculation
* Reverting the status to another "non-excluded" status includes it in the calculation
* Changing the status from "excluded" to "non-excluded" or the other way around triggers the recalculation of the parent and ancestor work packages.
* The seed data is changed to mark "Rejected" status as excluded from work calculations.
* There is database migration that marks "rejected" status as excluded and recomputes calculated values for work packages using the "rejected" status.
### Design
[https://www.figma.com/file/znrocQvFNLb5jXRXNo7oeD/Progress-estimation?type=design&node-id=1225-32825&mode=design&t=nLYtgOyq4RP97xpj-4](https://www.figma.com/file/znrocQvFNLb5jXRXNo7oeD/Progress-estimation?type=design&node-id=1225-32825&mode=design&t=Q4lvreP9j7xBEjek-4) https://www.figma.com/file/znrocQvFNLb5jXRXNo7oeD/Progress-estimation?type=design&node-id=1225-32825&mode=design&t=nLYtgOyq4RP97xpj-4
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/100357/content"> src="/api/v3/attachments/91859/content">
[https://www.figma.com/file/znrocQvFNLb5jXRXNo7oeD/Progress-estimation?type=design&amp;node-id=1097-26280&amp;mode=design&amp;t=PQOSsw6oUex8BPoG-4](https://www.figma.com/file/znrocQvFNLb5jXRXNo7oeD/Progress-estimation?type=design&node-id=1097-26280&mode=design&t=PQOSsw6oUex8BPoG-4)
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/100359/content"> <img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/100353/content"> src="/api/v3/attachments/90675/content">
**I want to** exclude rejected or duplicate work packages from the calculation of total work, total remaining work and total %
**So that I** can clean up my estimates and the progress when rejecting child work packages or marking them as duplicates.
### **Acceptance criteria**
* Each work package status can be configured as "exclude from the parent's calculation of completion calculation and work estimates", e.g. for status "rejected".
[https://www.figma.com/file/znrocQvFNLb5jXRXNo7oeD/Progress-estimation?type=design&node-id=1225-32825&mode=design&t=nLYtgOyq4RP97xpj-4](https://www.figma.com/file/znrocQvFNLb5jXRXNo7oeD/Progress-estimation?type=design&node-id=1225-32825&mode=design&t=Q4lvreP9j7xBEjek-4)
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/100357/content">
[https://www.figma.com/file/znrocQvFNLb5jXRXNo7oeD/Progress-estimation?type=design&amp;node-id=1097-26280&amp;mode=design&amp;t=PQOSsw6oUex8BPoG-4](https://www.figma.com/file/znrocQvFNLb5jXRXNo7oeD/Progress-estimation?type=design&node-id=1097-26280&mode=design&t=PQOSsw6oUex8BPoG-4)