# Bug OP-2486 - Not possible to create child work package from relations tab

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 5.0.7 |
| Observed in versions |  |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

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

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

**Preconditions**

  - Work package module activated.

**Steps to reproduce**

1.  Open a work package (split screen or full screen).
2.  Select the tab “Relations”.
3.  Expand the section “Children”.
4.  Click on the button “Add child”.

**Actual behavior**

  - A new work package create form is opened but there is no field to set the work package parent and upon creation the work package is not shown as a child of the original work package.

**Expected behavior**

  - When creating a work package with the button “Add child”, the title above the subject field is “New Work Package (Child of \[Type\]\[\#ID\])”. (read only, parent cannot be changed)
      - E.g. “New Work Package (Child of Bug <mention class="mention" data-id="123456" data-type="work_package" data-text="#123456">#123456</mention>)”
  - Upon creation the parent of the newly created work package is automatically set.
  - The normal create work package screen (when not using the “Add child” button) is unchanged.

**QA system**

  - org-dev.qa.finn.de
  - OpenProject 5.0.3
