stable
Clone or download
Read-only
This is part of story #20111 change features priority How to test: - Have features in program increment - Feature is linked to US planned in sprint (in team) - Use REST route PATCH projects/$id/program_backlog with payload [0] - Go to Program service Expected results: - An exception is thrown and feature is still planned in program increment [0] { "add": [ { "id": $feature_id } ], "remove": [], "remove_from_program_increment_to_add_to_the_backlog": true } Change-Id: I8478f38c6a25f0c0d6f6b2ff2c5acb9d3418853d
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/program_management/include/Adapter/Program/Backlog/TopBacklog/ProcessTopBacklogChange.php | +21 | −3 | Go to diff View file |
M | plugins/program_management/include/Adapter/Program/Feature/FeatureRepresentationBuilder.php | +10 | −49 | Go to diff View file |
A | plugins/program_management/include/Adapter/Program/Feature/Links/UserStoryLinkedToFeatureChecker.php | +85 | −0 | Go to diff View file |
A | plugins/program_management/include/Program/Backlog/TopBacklog/FeatureHasPlannedUserStoryException.php | +31 | −0 | Go to diff View file |
M | plugins/program_management/include/Program/Backlog/TopBacklog/TopBacklogChangeProcessor.php | +1 | −0 | Go to diff View file |
M | plugins/program_management/include/Program/Backlog/TopBacklog/TopBacklogUpdater.php | +1 | −0 | Go to diff View file |
M | plugins/program_management/include/REST/v1/ProgramIncrementResource.php | +2 | −2 | Go to diff View file |
M | plugins/program_management/include/REST/v1/ProjectResource.php | +8 | −3 | Go to diff View file |
M | plugins/program_management/include/program_managementPlugin.php | +3 | −1 | Go to diff View file |
M | plugins/program_management/tests/rest/v1/ProjectResourceTest.php | +82 | −14 | Go to diff View file |
M | plugins/program_management/tests/unit/Adapter/Program/Backlog/TopBacklog/ProcessTopBacklogChangeTest.php | +82 | −21 | Go to diff View file |
M | plugins/program_management/tests/unit/Adapter/Program/Feature/Content/ProgramIncrementContentRetrieverTest.php | +2 | −2 | Go to diff View file |
M | plugins/program_management/tests/unit/Adapter/Program/Feature/FeatureElementsRetrieverTest.php | +2 | −2 | Go to diff View file |
M | plugins/program_management/tests/unit/Adapter/Program/Feature/FeatureRepresentationBuilderTest.php | +2 | −2 | Go to diff View file |
A | plugins/program_management/tests/unit/Adapter/Program/Feature/Links/UserStoryLinkedToFeatureCheckerTest.php | +173 | −0 | Go to diff View file |