Content
Updated by Christophe Bliard 4 days ago
**As** a user having thoughtfully set dates to some work packages
**I want to** add children to that work package without losing the dates I previously set
**so that** I don't have to do it again: switch it back to manual scheduling and set dates to what they were before
**Context**
A user-submitted bug (<mention class="mention" data-id="66243" data-type="work_package" data-text="##66243">##66243</mention>) highlights the need for more flexibility.
**Acceptance criteria / idea proposition**
* When creating or adding a first child to a work package that is in manual scheduling mode and has dates (one or both),
* If that first child has dates different from the parent, or the child as no dates, show a modal asking for user confirmation:
* Title: "Switch to automatic scheduling?"
* Text: "The child you are adding to the work packing has different dates than the parent. What would you like to do?"
* Option 1: "Switch parent to automatic scheduling."
* Caption: "The parent's dates will be overwritten and will automatically inherit from dates of its children."
* Option 2: "Keep manual scheduling."
* Caption: "Both parent and children will preserve their existing dates."
* If that first child has same dates as the parent
* No dialog, switch parent to automatic, parent dates won't change as they are the same
* When the work package is in automatic scheduling mode (because it's a successor)
* no dialog, parent is already in automatic mode, parent dates may change as children dates have precedence over predecessor dates. mode.
**Technical notes**
* Another possible approach: <mention class="mention" data-id="66584" data-type="work_package" data-text="##66584">##66584</mention> data-text="##66584">##66584</mention>
**Permissions and visibility considerations**
* No change
**Translation considerations**
* None
**Out of scope**
* None
**To be informed/consulted teams**
**I want to** add children to that work package without losing the dates I previously set
**so that** I don't have to do it again: switch it back to manual scheduling and set dates to what they were before
**Context**
A user-submitted bug (<mention class="mention" data-id="66243" data-type="work_package" data-text="##66243">##66243</mention>) highlights the need for more flexibility.
**Acceptance criteria / idea proposition**
* When creating or adding a first child to a work package that is in manual scheduling mode and has dates (one or both),
* If that first child has dates different from the parent, or the child as no dates, show a modal asking for user confirmation:
* Title: "Switch to automatic scheduling?"
* Text: "The child you are adding to the work packing has different dates than the parent. What would you like to do?"
* Option 1: "Switch parent to automatic scheduling."
* Caption: "The parent's dates will be overwritten and will automatically inherit from dates of its children."
* Option 2: "Keep manual scheduling."
* Caption: "Both parent and children will preserve their existing dates."
* If that first child has same dates as the parent
* No dialog, switch parent to automatic, parent dates won't change as they are the same
* When the work package is in automatic scheduling mode (because it's a successor)
* no dialog, parent is already in automatic mode, parent dates may change as children dates have precedence over predecessor dates.
**Technical notes**
* Another possible approach: <mention class="mention" data-id="66584" data-type="work_package" data-text="##66584">##66584</mention>
**Permissions and visibility considerations**
* No change
**Translation considerations**
* None
**Out of scope**
* None
**To be informed/consulted teams**