# Feature OP-11801 - Improve discoverability of used statuses, types when trying to delete them

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-11801

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes | 5 |
| 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 | Parimal Satyal |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

When trying to delete a

*   status
    
*   type
    
*   role
    
*   ... possibly others
    

you get a generic error message that the object cannot be deleted due to being in use.

It often happens that customers complain about this because they forget they have an archived project which has these object assigned to work packages.

To improve visibility, we should:

*   list where the objects are still being used and if the associated project is archived
    
*   Optionally, allow a way to re-assign all values like for deleting work packages with an assigned time entry
    
    *   This option should also allow to force deletion if that does not lead to data corruption (e.g. if a role is deleted, all memberships need to be deleted but that would be possible).
        
*   For roles, no overview seems to exist at all, even for non archived projects.
