stable

Clone or download

Read-only

GET /iteration/id/content

How to test: have an iteration linked to a PI (or manually link an iteration tracker to a program incrment artifact with a `_is_child` link nature) In team project, in mirrored PI (aka Release) you should have a mirrored iteration (aka Sprint) Plan a user story in the sprint. In API explorer call /iteration/id/content on the Program iteration artifact In its content you mst see the User Story you just link to its mirror in team tracker part of story #21385 display Program's iterations Change-Id: I8cc9ad5c8e25003fba31431bdf088a294cacb023

Modified Files

Name
A plugins/program_management/include/Adapter/Program/Backlog/Iteration/IterationContentDAO.php +56 −0 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/Iteration/Content/IterationContentSearcher.php +94 −0 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/Iteration/Content/SearchUserStoryPlannedInIteration.php +31 −0 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/Iteration/IterationNotFoundException.php +46 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/UserStory/UserStoryIdentifier.php +32 −0 Go to diff View file
M plugins/program_management/include/REST/ResourcesInjector.php +3 −1 Go to diff View file
A plugins/program_management/include/REST/v1/IterationResource.php +124 −0 Go to diff View file
M plugins/program_management/site-content/fr_FR/LC_MESSAGES/tuleap-program_management.po +4 −0 Go to diff View file
M plugins/program_management/tests/rest/_fixtures/program_program_management/project.xml +6 −0 Go to diff View file
M plugins/program_management/tests/rest/_fixtures/team_program_management/project.xml +24 −0 Go to diff View file
M plugins/program_management/tests/rest/v1/Helper/ProgramDataBuilder.php +27 −3 Go to diff View file
M plugins/program_management/tests/rest/v1/ProjectResourceTest.php +21 −1 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/Feature/Links/UserStoryRetrieverTest.php +25 −15 Go to diff View file
A plugins/program_management/tests/unit/Domain/Program/Backlog/Iteration/Content/IterationContentSearcherTest.php +122 −0 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/UserStory/UserStoryIdentifierTest.php +91 −5 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveUserStoryCrossRefStub.php +4 −4 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveUserStoryTitleStub.php +14 −3 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveUserStoryURIStub.php +1 −10 Go to diff View file
A plugins/program_management/tests/unit/Stub/SearchUserStoryPlannedInIterationStub.php +46 −0 Go to diff View file