# Feature OP-14508 - Bulk edit work package relations

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

## 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 | Modules and project features / Relations and scheduling |
| 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 | OP Dev Sirius Team |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

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

## Description

**As** a Project Administrator  
**I want to** bulk edit work packages and add "Blocked by" relation to multiple work packages at the same time  
**so that** I don't have to go into the blocking work package and add multiple relations line by line

**Acceptance criteria**

  - In the bulk edit work package screen, add a relations drop down and work package selector

\--------------------------------------------

Copied from <mention class="mention" data-id="71278" data-type="work_package" data-text="#71278">\#71278</mention> which was another feature request with the same topic

**As** a user editing relationships (e.g., \*precedes/follows, parent-child, related to, blocks/blocked by, duplicates\*) 

**I want to** set relationships for multiple work packages at once via Bulk Edit

**so that** I can maintain consistent dependencies across many work packages reducing manual effort and avoid errors in projects.

#### Acceptance criteria

\- The bulk edit dialog contains a dedicated “Relations” section in which relationships for all selected work packages can be added or modified.    
\- The following actions are available for relations in the bulk edit dialog:    
  - Add a new relation (choose relation type + target work package(s)).    
  - Remove existing relations by relation type and target work package.    
\- All standard relation types that are available in single-edit mode are supported (e.g., \*precedes, follows, parent, child, related to, blocks, blocked by, duplicates, duplicated by\*).

#### Technical notes

\- UI: Extend the existing bulk edit dialog with a “Relations” section, analogous to the current single-edit UI (auto-complete for target work packages, selection of relation types).

#### Permissions and visibility considerations

\- **Visible to**:  
 - Only users with permissions to edit work packages \*\*and\*\* to edit relations in the respective project.

\- **Not visible / not usable when:**  
 - Users only have read access to work packages.

**Translation considerations**

Key terms in English/German (extend as needed):

\- Bulk edit / Mass editing – Massenbearbeitung    
\- Relations / Relationships – Beziehungen    
\- Add relation – Beziehung hinzufügen    
\- Remove relation – Beziehung entfernen    
\- Precedes / Follows – steht vor / steht nach    
\- Parent / Child – übergeordnet / untergeordnet    
\- Related to – verwandt mit    
\- Blocks / Blocked by – blockiert / wird blockiert von    
\- Duplicates / Duplicated by – dupliziert / wird dupliziert von    
\- Not enough permissions – Keine ausreichenden Berechtigungen

**Out of scope**

\- Introducing new relation types or changing the core logic of existing relation types.    
\- Bulk creation or deletion of work packages themselves (only relations are modified via bulk edit).
