# Bug OP-17786 - time_entries endpoint no longer supports work_package filter

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | API |
| Target versions | 16.4.0 |
| Observed in versions | 16.3.0 |
| Sprint | 16.4.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.3.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 | Klaus Zanders |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

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

Using API the time\_entries endpoint does no longer support work\_package filter.

_curl.exe -X GET &quot;https://&lt;DOMAIN&gt;/api/v3/time\_entries?filters=%5B%7B%22work\_package%22%3A%7B%22operator%22%3A%22%3D%22%2C%22values%22%3A%5B%22**9999**%22%5D%7D%7D%5D&quot; -H &quot;Authorization: Basic &lt;base64 apikey&gt;&quot;_

### What is the buggy behavior?

<br>

*   400 Bad Request _Error Message &quot;Filters Arbeitspaket Filter existiert nicht&quot;_
    
    <br>
    

### What is the expected behavior?

_Filter should work - used to work in 15.x.x_

###   

**OpenProject installation type**

*   Docker&nbsp;
    

**OpenProject version**

_16.3.1_

**Browser**

*   [ ] Chrome
*   [ ] Firefox
*   [ ] Safari
*   [ ] Mobile Safari
*   [ ] Other (please specify)

**Operating System**

*   [x] Windows
*   [ ] Mac OS X
*   [ ] Mobile iOS
*   [ ] Mobile Android
*   [ ] Linux (please specify distro)
*   [ ] Chrome OS
*   [ ] Other (please specify)

**Language**

_German_
