# Bug OP-14790 - Total Remaining work of parent ticket does not get updated according to children values

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-14790

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 14.0.0 |
| Observed in versions |  |
| Sprint | 14.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Login as a user with permissions to edit work, remaining work and %complete
2.  Set up progress calculation to be status based
    1.  &quot;New&quot; status is 0% complete
    2.  &quot;Closed&quot; status is 100% complete
3.  Go to any project &gt; Work packages
4.  Create a parent ticket with 2 children tickets
5.  Add work value for both children tickets
6.  Change children status to &quot;Closed&quot;

### What is the buggy behavior?

*   Total remaining work of parent does not get updated to 0h
*   %complete of parent does not get updated to 100%

### What is the expected behavior?

1.  Total remaining work of parent is automatically set to 0h
2.  Total %complete of parent is updated to 100%

### Screenshots and other files

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/98675/content">

### Environment information

**OpenProject version**

Core build

[5f1ac3136ec60a411e24e221a620faceedf012d7](https://github.com/opf/openproject/commits/5f1ac3136ec60a411e24e221a620faceedf012d7)&nbsp;

Product version

[7a689c6a3d9c44be1ab7ef8b3bcdbd873824ab38](https://github.com/opf/saas-openproject/commits/7a689c6a3d9c44be1ab7ef8b3bcdbd873824ab38)

Core version

OpenProject 14.1.0

**Browser**

*   [ ] Chrome
*   [x] Firefox
*   [ ] Safari
*   [ ] Mobile Safari
*   [ ] Other (please specify)
