# Bug AGILE-454 - Sprint report automatically opens when we move a wp to a sprint if sprint report was previously opened

Project: Stream agile
Status: closed
URL: https://community.openproject.org/work_packages/AGILE-454

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Backlogs |
| Target versions | 18.0.0 |
| Observed in versions | 18.0.0 |
| Sprint | Sprint 14 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Attila Dombi |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Effort (shirt size) |  |
| Work |  |
| Labor costs |  |

## Description

###   

### Steps to reproduce

1.  Login and go to a project/Backlogs
    
2.  On one of the sprints, click on more menu and select Sprint report
    
3.  Go back with browser back button to Backlogs page again
    
4.  Move a work package from Inbox to the sprint by drag and drop
    

Similar scenario:

1.  Login and go to a projects/Backlogs
    
2.  Make sure you have several wps in backlogs and sprints
    
3.  Click on the ID link on the work package card so that it opens in full screen
    
4.  Go back to backlogs
    
5.  Select one or more cards and drag and drop them elsewhere
    

### What is the buggy behavior?

*   Sprint report opens&nbsp;
    
*   Or previously opened work package opens (as described in Similar scenario)
    

### What is the expected behavior?

1.  Sprint report or another work package shouldn&#x27;t open just because we moved a wp
    

###   

### Environment information

**OpenProject version**

**Core build**

[04e36b197116a8ea3e37766c41124fe1627992e6](https://qa.openproject-edge.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fopenproject%2Fcommit%2F04e36b197116a8ea3e37766c41124fe1627992e6)

**Product version**

[1033ee71d84b885a497f41635e01e2f33b3a83c9](https://qa.openproject-edge.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fsaas-openproject%2Fcommit%2F1033ee71d84b885a497f41635e01e2f33b3a83c9)

**Core version**

OpenProject 18.0.0

**Browser**

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

**Operating System**

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