# Feature OP-5406 - Automatically inform assignee of following work package when preceding work package has been completed

Project: OpenProject
Status: needs clarification
URL: https://community.openproject.org/work_packages/OP-5406

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes | 4 |
| 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 / Work packages |
| 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 |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

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

## Description

**As** an OpenProject user  
**I want** to be notified when all preceding work package have been completed  
**so that** I know I can start working on my task.

**Acceptance criteria**

*   When work packages are in a follows / precedes or blocks / blocked-by relationship and all preceding / blocking work package have been changed to meta-status &quot;closed&quot;, the assignee and accountable (and possibly watchers) should be notified that the succeeding work package can be worked on.
*   The email includes a short notification that all previous work packages have been completed (with a link to the other work package if that work package is visible for the addressed user).
*   The email includes a link / information for the work package that was unblocked.
*   For the time beeing please send one email per unblocked work package. We will address the aggregation of those emails in a separate Feature some when later.
*   If a work package does not have a follows /precedes relationship, no e-mail is sent.
*   If a work package is already closed (not prohibited), no mail is sent out.
*   There is a setting in `/admin/mail_notifications`  in the **SELECT ACTIONS FOR WHICH EMAIL NOTIFICATIONS SHOULD BE SENT.** section that activates/deactivates the functionality. It should be deactivated by default.
*   When a follows/blocks relationship gets removed and thus unblocks the following work package then NO notification gets send out (as the new situation is like any other situation).
