# Feature OP-9547 - Adapt end date to start date when bulk editing/copying work packages

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

## Planning

| Attribute | Value |
| --- | --- |
| Date | 2021-12-07 –  |
| 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

### **Environment**:

Your OpenProject Version: Stage 12.0.4

Operating System / Browser / OpenProject language:

### **Logs**

Are there errors in the browser console? ([Click here for information on how to open your browser's console](https://webmasters.stackexchange.com/a/77337)) For a local installation: Are there relevant logs output by `openproject logs` (packaged installation) ([click here for details](https://docs.openproject.org/installation-and-operations/operation/monitoring/#show-logs)) or in a log/production.log or /var/log/openproject/ ? Please attach error output in these log files if applicable

### **Steps to reproduce:**

1.  Go to page <https://hr-it.openproject-stage.com/work_packages/move/new?copy=true&ids%5B%5D=186416&ids%5B%5D=186419&ids%5B%5D=186420&ids%5B%5D=186421&ids%5B%5D=186423&ids%5B%5D=186424&ids%5B%5D=186425>
    1.  Bulk copy multiple work packages so that see the below screen
2.  Set Begin date to some date in 2022.
3.  try to set the end date

<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24395/content"></div></figure>

### **Actual Behavior**

End date is predefined with todays date no matter what has been set as begin date.

### **Expected Behavior**

Since end date can't be prior to begin date end date should at least be set to begin date by system.  
If not possible at least the year should be the same. This will come up every year latest in december.
