Skip to content

[bug]: Listing work items with API request does not filter by user ID #8221

@PyryLaa

Description

@PyryLaa

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When I try to query the API for work items and filter the result by my ID only, I still get all the work items as result.
This is the CURL request that I send by using the API reference web site:

curl --request GET \
  --url 'https://api.plane.so/api/v1/workspaces/<workspace_slug>/projects/<project_id>/work-items/?assignee=<user_id>' \
  --header 'x-api-key: <api_key>'

workspace_slug, project_id and user_id are all correct and they should work. The only work item that I'm assigned to right now has my ID in the assignees array in the response json correctly.

I'd say the desired functionality is that it should respond only with work items that have the given user id in the assignees array

Steps to reproduce

  1. Go to https://planesoftwareinc.mintlify.app/api-reference/issue/list-issues
  2. Make a request and filter them with user id in the assignee parameter field

Environment

Production

Browser

None

Variant

Cloud

Version

Latest

Metadata

Metadata

Assignees

Labels

🐛bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions