stable

Clone or download

Read-only

Add GET REST route program_backlog_items/${id}/children

This is part of story #20066 display stories childen of features How to test: * Have a feature with some US in a team project * Use route REST program_backlog_items with feature_id Expected results: * You will get all linked children to the feature Note to the reviewer: I needed to change PrivateCommentArtifactTest.php file because I insert a new ugroup and change all ugroup_id in db. Instead of changing again and again ugroup id after each addition of ugroup, I change this test to only test on ugroup label. I think it's good enough. Change-Id: I3a15f8e2d97e40b0b667a261ce9449a2e4d1b894

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Feature/Links/ArtifactsLinkedToParentDao.php +20 −0 Go to diff View file
A plugins/program_management/include/Adapter/Program/Feature/Links/FeatureBacklogItemsRepresentationBuilder.php +90 −0 Go to diff View file
A plugins/program_management/include/Adapter/Program/Feature/Links/FeatureIsNotPlannableException.php +31 −0 Go to diff View file
A plugins/program_management/include/Adapter/Program/Feature/Links/FeatureNotAccessException.php +31 −0 Go to diff View file
A plugins/program_management/include/Program/Backlog/Feature/Content/Links/RetrieveFeatureBacklogItems.php +33 −0 Go to diff View file
M plugins/program_management/include/REST/ResourcesInjector.php +2 −0 Go to diff View file
A plugins/program_management/include/REST/v1/FeatureBacklogItemsRepresentation.php +66 −0 Go to diff View file
A plugins/program_management/include/REST/v1/ProgramBacklogItemsResource.php +101 −0 Go to diff View file
M plugins/program_management/tests/rest/v1/Helper/ProgramDataBuilder.php +3 −7 Go to diff View file
M plugins/program_management/tests/rest/v1/ProjectResourceTest.php +18 −0 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Program/Feature/Links/FeatureBacklogItemsRepresentationBuilderTest.php +206 −0 Go to diff View file
M plugins/tracker/tests/rest/PrivateComment/PrivateCommentArtifactTest.php +24 −88 Go to diff View file