# Feature OP-18876 - Custom field of type hierarchy should be able to automatically check parent entries of a selected child

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

## Planning

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

## Estimates and progress

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

## Description

**As** a OpenProject Administrator  
**I want to** to be able to configure the custom hierarchy fields to automatically also set a checkmark besides all the parents of a selected child entry  
**so that** filtering for a parent entry also filters for every child.

**Acceptance criteria**

*   New behavior should be configurable in the admin settings
    

**Technical notes**

As example see the manual [https://www.openproject.org/docs/system-admin-guide/custom-fields/#hierarchy-custom-field-enterprise-add-on](https://www.openproject.org/docs/system-admin-guide/custom-fields/#hierarchy-custom-field-enterprise-add-on) . There multiple locations are created (example Europe / Germany / Bavaria / Munich). When a user selects &quot;Munich&quot; filtering for &quot;Bavaria&quot; or &quot;Europe&quot; will not find the project where &quot;Munich&quot; is selected. But this behavior would be very useful in certain cases and at the moment the only way to achieve is to tell the users to manually also check every parent.

<br>
