# Code maintenance OP-18658 - Remove unused options of link_to_work_package helper

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

## OPEN POINTS

_No work packages_

## Subtasks

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Designer |  |
| Developers | Oliver Günther |
| Requires doc change | No |
| Date |  |
| Priority | Medium |
| Target versions | 16.6.6 |
| Sprint | 16.6.6 |
| Backlog bucket |  |
| Module |  |
| Accessibility | No |
| List |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| Work |  |
| Remaining work |  |

## Description

The `link_to_work_package` was super convoluted, and 90% of these options were not used anywhere. Simplify the method and remove unused options and fix rendering of input
