# Bug OP-13321 - Poor performance of work package autocompleter and /api/v3/work_packages in some scenarios

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 13.0.4 |
| Observed in versions | 13.0.0 |
| Sprint | 13.0.4 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 13.0.x |
| 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

### Steps to reproduce

_Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:_

1.  Have a very large dataset (a lot of projects and work packages) 
2.  Be a user that has only access to a single project with few work packages
3.  Open the global work packages page or use the work package autocompleter by e.g. typing `#someting` into a work package comment 

### What is the buggy behavior?

_Please describe the bug in as much detail as possible. Example:_

*   Response time can be very poor 

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/69198/content">

### What is the expected behavior?

_Describe how the application should behave like. Example:_

1.  Acceptable performance
