-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Background
The project detail page (src/app/projects/[id]/page.tsx) calls the tickets API with a project query parameter, but the API endpoint doesn't currently process this parameter. Instead, all tickets are fetched from the organization and filtered client-side.
Current Behavior
- Project page:
GET /api/devops/tickets?project={projectId} - API ignores the
projectparameter and returns all tickets - Client filters tickets by project after receiving all data
Proposed Enhancement
For better performance with large organizations:
- Update
src/app/api/devops/tickets/route.tsto handle theprojectquery parameter - Add WIQL filtering by project when parameter is provided
- Reduce data transfer and client-side processing
Priority
Low - current MVP approach works fine for small/medium organizations. Only becomes an issue with large ticket volumes.
Related
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels