Skip to content

PM-4925: Include past assignments in My Assignments API#14

Merged
jmgasper merged 1 commit intodevelopfrom
PM-4925
Apr 28, 2026
Merged

PM-4925: Include past assignments in My Assignments API#14
jmgasper merged 1 commit intodevelopfrom
PM-4925

Conversation

@jmgasper
Copy link
Copy Markdown
Contributor

What was broken
The My Assignments endpoint only returned engagements where the authenticated member had a selected or assigned record, so completed and terminated engagement details disappeared from the member view.

Root cause
findMyAssignments reused the active assignment status list for both the engagement filter and included assignment records.

What was changed
Added a My Assignments status set that includes SELECTED, ASSIGNED, COMPLETED, and TERMINATED. The endpoint now uses that set for member assignment filtering, and the API documentation describes active and past assignments.

Any added/updated tests
Added an EngagementsService test covering active and past assignment records in the My Assignments query.

What was broken
The My Assignments endpoint only returned engagements where the authenticated member had a selected or assigned record, so completed and terminated engagement details disappeared from the member view.

Root cause
findMyAssignments reused the active assignment status list for both the engagement filter and included assignment records.

What was changed
Added a My Assignments status set that includes SELECTED, ASSIGNED, COMPLETED, and TERMINATED. The endpoint now uses that set for member assignment filtering, and the API documentation describes active and past assignments.

Any added/updated tests
Added an EngagementsService test covering active and past assignment records in the My Assignments query.
@jmgasper jmgasper merged commit 0c28b33 into develop Apr 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant