Description
Add support for filtering bounties by current authenticated user's assignments in the /gobounties/all endpoint.
Technical Details
- Add new query parameter to filter bounties assigned to authenticated user
- Extend existing GetAllBounties function to handle new filter
- Ensure proper authentication validation
- Unit tests for GetAllBounties with
assignedToMe parameter
Implementation Notes
- Add new query parameter
myAssigned=true to existing endpoint
- Update SQL query to include condition:
AND assignee = [current_user_id] when filter is active
- Maintain compatibility with existing filter combinations
Acceptance Criteria
Dependencies
Description
Add support for filtering bounties by current authenticated user's assignments in the
/gobounties/allendpoint.Technical Details
assignedToMeparameterImplementation Notes
myAssigned=trueto existing endpointAND assignee = [current_user_id]when filter is activeAcceptance Criteria
/gobounties/allendpoint accepts newmyAssignedparameterDependencies