As a contractor, I should be able to get all milestones for a project, so that I can review the completion progress of milestones and identify blockers #82
Labels
user story
A brief explanation of a functionality or an interaction with the system, from a user's perspective
Summary
As a
contractor
, I should be able to get all milestones for a project, so that I can review the completion progress of milestones and identify blockers.Acceptance Criteria
Scenario 1: Search for all possible milestones in a project
GIVEN an
contractor
is requesting all possible milestones in the desktop appWHEN the app hits the
/projects/:id/milestones
endpoint with a valid GET request, containing the path parameter::id
, the unique id of the project for which the milestones are needed.THEN the app should receive a status
200
AND in the response, the following information should be returned:
Sample Request/Sample Response
For e.g. If we request milestones for project id 1:
Scenario 2: Search for all milestones in a project by completion status
GIVEN an
contractor
is requesting all milestones for a project in the desktop appWHEN the app hits the
/projects/:id/milestones
endpoint with a valid GET request, containing:-":id
, the unique id of the project for which the milestones are needed.is_complete="bool"
, where bool indicates completion**THEN the app should receive a status
200
AND in the response, the following information should be returned:
Sample Request/Sample Response
For project id 1 and query parameter is_complete=1:
Resources
Dev Notes
Testing Notes
{notes for QA, with examples if applicable}
The text was updated successfully, but these errors were encountered: