# Feature OP-16750 - Versions - Do NOT update children's versions with "done" definition when updating parent version

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-16750

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes | 1 |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

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

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** a project leader  
**I want to** be able to update a Parent Workpackage's version which will trigger also updating the version of all its Children, **excepted the Children that have a status set as "**[**definition of done**](https://www.openproject.org/docs/user-guide/projects/project-settings/backlogs-settings/)**"**  
**so that** I may re-plan an unfinished story with its Children that are still to-do to a another version (sprint)

**Acceptance criteria**

  - When updating a Parent's version, all Children that **do not have** a status identified as "definition of done" **do have their version also updated** *(= current behavior)*

  - When updating a Parent's version, all Children that **have** a status identified as "definition of done" **do not have their version updated and remain as-is** *(exception to the current behavrior)*

**Technical notes**

  - If this new behavior is not desirable for everyone, make it configurable in the project's settings?

Example initial state : 

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

Example final state after updating `STORY` to `Sprint 5` with current behavior (all children are updated) :

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

Example desired final state (`TASK 1` 's version is not updated because it has status `Closed` which is identified as "definition of done\` in the project's settings) :

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

**Permissions and visibility considerations**

  - Available for all, anytime (configurable?)

**Out of scope**

  - NA
