# Bug OP-18086 - "Close completed versions" is not connected to the backend -> 404 returned

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Roadmap |
| Target versions | 16.6.0 |
| Observed in versions | 16.5.0 |
| Sprint | 16.6.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.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 | Oliver Günther |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Have a project with versions
    
2.  Go to the list of versions in the project
    
3.  Click on &quot;Close completed versions&quot;
    

### What is the buggy behavior?

*   A 404 page is displayed
    

### What is the expected behavior?

*   Versions that are open or locked, whose finish date is in the past and that have no open tickets should be closed.
    
*   \[confirmed with UI\] Move the button to the page header, as the sole item of an action menu
