### Is there an existing issue for this?
Current behavior
When I issue a GET request to /api/v1/workspaces/<workspace_slug>/projects/<project_id>/issues/?group_by=state, the API ignores the group_by parameter, sets "grouped_by": null, and returns a flat array of issues.
json
{
"grouped_by": null,
"sub_grouped_by": null,
"total_count": 1,
"count": 1,
"results": [
{
"id": "3316a9db-d234-42f0-8f49-d912d22f811a",
"name": "Test Issue",
"state": "ae9b8057-e219-497d-b547-9d73bc29934b",
"labels": []
}
]
}
Steps to reproduce
Create an issue in a project and assign it a state (e.g., Backlog).
Issue a GET request to the issues endpoint including ?group_by=state:
Bash
curl -X GET "http://127.0.0.1:8000/api/v1/workspaces/<workspace_slug>/projects/<project_id>/issues/?group_by=state" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>
Observed Behavior
The API responds with HTTP 200, but "grouped_by" remains null and the results array is returned as a standard flat list:
JSON
{
"grouped_by": null,
"sub_grouped_by": null,
"total_count": 1,
"count": 1,
"results": [
{
"id": "3316a9db-d234-42f0-8f49-d912d22f811a",
"name": "Test Issue",
"state": "ae9b8057-e219-497d-b547-9d73bc29934b",
"labels": [...]
}
]
}
Environment
Deploy preview
Browser
Google Chrome
Edition
Community
Version
v0.17.0-dev
###Is there an existing issue for this?Current behavior
When I issue a GET request to
/api/v1/workspaces/<workspace_slug>/projects/<project_id>/issues/?group_by=state, the API ignores thegroup_byparameter, sets"grouped_by": null, and returns a flat array of issues.json
Steps to reproduce
Create an issue in a project and assign it a state (e.g., Backlog).
Issue a GET request to the issues endpoint including ?group_by=state:
Bash
Observed Behavior
The API responds with HTTP 200, but "grouped_by" remains null and the results array is returned as a standard flat list:
JSON
Environment
Deploy preview
Browser
Google Chrome
Edition
Community
Version
v0.17.0-dev