# Bug OP-7924 - Parent progress not updated when package marked complete by git commit

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

## Open points

_No work packages_

## Details

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

## People

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

## Planning

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

## Costs

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

## Description

### **Environment**:

Your OpenProject Version: 11.0.3-1605515802.b0a993b4.bionic

Operating System / Browser / OpenProject language: Windows 10 / Firefox 83.0 - 64 bit / English

### **Logs**

No errors in log files.

### **Steps to reproduce:**

1.  Create a work package with a child.
2.  Commit something to git and use closes \!\#\<number of child\> to close the child in the commit message.
3.  Visit repository page. Commit is present, the child work package is linked in the commit message and marked closed.
4.  Go to the work package list, the parents progress indicator is not updated.
5.  Manually set the child's progress to 99% and then back to 100%.
6.  The parent's progress is updated properly. 

I am committing to master, I have not tested this with other branches.

Calculate the work package done ratio with is set to 'Use the work package field'. I have not tested this with other settings.

### **Actual Behavior**

When a commit closes a child work package, the parent's progress is not updated.

### **Expected Behavior**

The parent's work package should be updated when the child package is closed by the git commit.
