# Bug OP-19606 - Move work package form: Changing project, type wipes most form fields

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Work packages, Frontend components and Primer design system |
| Target versions | 17.6.0 |
| Observed in versions | 17.5.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.5.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 |  |
| Accountable |  |
| Product manager |  |
| Developers | Alexander Coles |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Login as a user with permissions to move work packages within a project.

2.  Go to the work packages list

3.  Either:
    
    1.  Right-click on a work package in the list (or click the `...` to open the context menu)
    
    2.  Click **Move to another Project**

4.  OR:
    
    1.  Select more than one work package lin the list
    
    2.  Right-click (or click the `...` to open the context menu)
    
    3.  Click **Bulk change of project**

5.  On the Move work package form, fill in a field other than Project and Type, e.g. Start Date or Finish Date.

6.  Then change the selected Project or Type

### What is the buggy behavior?

  - The previously filled in fields are wiped - even if they still appear on the page.

### What is the expected behavior?

1.  Previously filled in fields should keep their values (provided those fields are still applicable for the project)

### Screenshots and other files

See attached screen recording.

### Hints for QA

While working on this bug, we found a logic bug - which has now been addressed:

> the move/copy form's status dropdown now lists statuses from the user's workflows in the **target** project (previously: source project). No visible change for admins; non-admin users with differing roles between source and target will see a different status list after picking a target project.

### Environment information

**OpenProject installation type**

  - Hosted cloud edition

**OpenProject version**

**Core build**

[07258a5df8a642e4d44e4bc60309a1fbdc30b061](https://qa.openproject-stage.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fopenproject%2Fcommit%2F07258a5df8a642e4d44e4bc60309a1fbdc30b061)

**Product version**

[3db21513fd7457f50849dce47a583687fac6667d](https://qa.openproject-stage.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fsaas-openproject%2Fcommit%2F3db21513fd7457f50849dce47a583687fac6667d)

**Core version**

OpenProject 17.6.0

**Browser**

- [x] Chrome
- [ ] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)

**Operating System**

- [ ] Windows
- [x] Mac OS X
- [ ] Mobile iOS
- [ ] Mobile Android
- [ ] Linux (please specify distro)
- [ ] Chrome OS
- [ ] Other (please specify)

**Language**

*en\_GB*
