# Feature OP-12957 - Delete project folders on project's storage deletion.

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

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 13.0.0 |
| Sprint | 13.0.0 |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

| ID | Subject | Type | Status | Assignee | Target versions | Spent time |
| --- | --- | --- | --- | --- | --- | --- |
| OP-12960 | Implement a command to remove project folder in Nextcloud | Implementation | closed |  |  |  |
| OP-12990 | Add invocation of delete folder command to deletion of project storage | Implementation | closed |  | 13.0.0 |  |

## 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 |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Accessibility | No |

## People

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

## Estimates and progress

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

## Description

**As** a *user*   
**I want to** *delete automatically managed project folders during  project's storage deletion*  
**so that** OpenProject's files on Nextcloud is in a clean state and no orphans(files or directories) are hanging around.

**Acceptance criteria**

  - *After project's storage deletion an automatically managed active project folder have to be deleted.*
      - *Automatically managed project folders that were hidden during project\_folder\_mode changes have to be removed as well. Note: The data about them is saved in* `last_project_folders` *database table.*
