# Feature OP-10566 - Include work package for which relations are shown when following the "show relations" link

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

## Planning

| Attribute | Value |
| --- | --- |
| Date | 2022-04-27 – 2022-05-25 |
| Priority | Medium |
| Target versions | 12.2.0 |
| Sprint | 12.2.0 |
| Backlog bucket |  |
| Votes |  |
| 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

Extracted from \#42047:

>   - a "Show relations" button that, when clicked, opens up a GANTT preview in a new window that allows the user to view relations affecting this work package.
>       - This is a filtered work package list (table view + GANTT view) showing only work packages related to the "main" work package (the one for which the GANTT preview was requested).
>       - **\[clarification added 14 jun 2022\]** This should also contain the "referring" work package, i.e, the original work package on whose date picker the "Show relations" button was clicked.
>           - ***\[in response to:\]** Should the work package for which the relations are presented also be shown? Otherwise it might be hard for the user to reason why each work package is displayed (related by hierarchy or by follows relation).*

**Acceptance criteria**

  - When following the "Show relations" button, the work package on which date picker the button was clicked is displayed as well.
