# Bug OP-12798 - Work package moved out of project not returned

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date | 2023-03-01 –  |
| Priority | Medium |
| Module |  |
| Target versions | 13.0.0 |
| Observed in versions |  |
| Sprint | 13.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| 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 |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

*Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:*

1.  Have two projects (PA and PB)
    1.  In PA, create a work package
    2.  wait until the aggregation time is over
    3.  Move the work package to project PB
2.  Within the project PA, filter for work packages with at least one timestamp before moving the work package to PB

### What is the buggy behavior?

*Please describe the bug in as much detail as possible. Example:*

  - The work package is not returned 

### What is the expected behavior?

*Describe how the application should behave like. Example:*

  - The work package is returned and the change in project displayed in the project column   
    (please note that until <mention class="mention" data-id="48116" data-type="work_package" data-text="##48116">##48116</mention> is merged, displaying the change will fail and the frontend will crash which until the merge is the expected behaviour)
