# Bug OP-1258 - APIv2: ids-parameter ignored for planning_elements.json

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 3.0.12 |
| Observed in versions |  |
| Sprint | 3.0.12 |
| 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

  - GET https://www.openproject.org/api/v2/projects/14,76,94,147,109,181,179,79,49,51,180,72,62,65,71,154,183,185,186/planning\_elements.json?ids=6677

**Expected**: Only data for planning element with id 6677 returned  
**Actual**: Thousands of planning elements returned
