# Bug SPAR-226 - Option to add "Existing child" does not make sense (the work package is only a child once added)

Project: Stream Planning and Reporting
Status: closed
URL: https://community.openproject.org/work_packages/SPAR-226

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Relations and scheduling |
| Target versions | 15.5.0 |
| Observed in versions | 15.4.0 |
| Bug found in version (deprecated) | 15.4.x |
| Requires doc change | Yes |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Christophe Bliard |
| Designer | Parimal Satyal |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Context

The original feature to Primerise the Relations tab (<mention class="mention" data-id="58345" data-type="work_package" data-text="#58345">\#58345</mention>) did not include options to add children via the "+ Relation" button, as it was considered out of scope. A later feature (<mention class="mention" data-id="60273" data-type="work_package" data-text="#60273">\#60273</mention>) added this functionality, since it was missed by quite a few users.

### Steps to reproduce

  - Go to any work package and click on the Relations tab

### What is the buggy behavior?

  - The idea of adding an "existing child" doesn't make sense as an action; the related work package is only a child once it is added. What the user is doing is adding an existing work package as a child. There are two place it is incorrect:
    
      - The term "Existing child" in the dropdown menu that appears when you click on the "+ Relation" button.
    
      - The "Add existing child" option under embedded work package tables.

### What is the expected behavior?

  - Rename "New child" → "**Create new child**"

  - Rename "Existing child" → "**Child**"
    
      - Use existing translation key `work_package_relations_tab.label_add_child_button` for the new label)

  - Rename "Add existing child" embedded work package tables (Angular) → "**Add child**"
    
      - Update translation key `js.relation_buttons.add_existing_child` 

### Screenshots and other files

**In the Add relation drop-down:**

<img class="image_resized op-uc-image op-uc-image_inline" style="width:335px;" src="/api/v3/attachments/382454/content">

**Under embedded work package table:**

<img class="image_resized op-uc-image op-uc-image_inline" style="width:508px;" src="/api/v3/attachments/385071/content">

### Environment information

**Community**  
**OpenProject 15.4**

**Browser:**  
Firefox Mac

**Language**  
EN
