# Feature OP-7789 - moving/copying work package to a different project will/can result in lost information's and task type

Project: OpenProject
Status: needs clarification
URL: https://community.openproject.org/work_packages/OP-7789

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| 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** person moving/copying work packages

**I want** a warning/confirmation message upon copying/moving work packages in case the copied to project does not support the work package type

**so that** I don't loose data.

This feature was created out of a bug:

### **Steps to reproduce:**

1.  set up a main project with an sub project
2.  define for the main project, that all work packages are allowed (task, bug, ...)
    1.  define a user defined property and assign it to e.g. task only for this main project
3.  define for the sub project, that only "bug" is allowed
    1.  the user defined property is not selectet for the sub project
4.  move/copy the work package "task" to the sub project

### **Actual Behavior**

the work package is moved/copied to the sub project

If a (new) work-package is moved into a project in which this task type is not available (allowed), the type is automatically assigned to an available work-package type. In the same way, the user-defined properties that do not exist in the project are removed from the work package and thus also the information contained there.

### **Expected Behavior**

Moving/copying should be prevented, if the target project is setup differently than the the source project.

Non-admin users should then be able to inform admin users about the project configuration mismatch.

No inadvertent data loss can occur.
