Summary
The list-issues endpoint in the public API v1 accepts a labels query parameter but silently ignores it. Passing ?labels=<label-uuid> returns every issue in the project instead of only issues carrying that label. No error is raised, so there’s no way to tell the filter was dropped.
Environment
- Plane: Cloud (api.plane.so)
- API: public REST v1
- Endpoint:
GET /api/v1/workspaces/{workspace}/projects/{project}/issues/
Steps to reproduce
- Create a project with (say) 388 issues, where only 2 carry a given label.
- Call:
curl -H “X-API-Key: $TOKEN”
“https://api.plane.so/api/v1/workspaces/{workspace}/projects/{project}/issues/?labels=&per_page=100” - Inspect
total_count/resultsin the response.
Expected
total_count == 2; results contains only the two issues that have the label.
Actual
total_count == 388; results contains the entire project. The labels filter has no effect. (Same behavior whether the value is a single UUID or a comma-separated list.)
Notes
- Each issue in the list response does include a
labelsarray of UUIDs, so client-side filtering is -side param appearsdocumented/accepted and s- Please confirm the corr for filtering issues bylabel in the public API vls__in`, repeated params,or unsupported?). If unsut unknown filter params
rather than silently ignofailure mode.