stable

Clone or download

Read-only

Search iterations of a Program Increment

part of story #21368 create mirrored iteration How to test: Run `tuleap config-set feature_flag_program_management_display_iteration 1` to enable iterations - Set up a Program Increment artifact with "_is_child" links to Iteration artifacts. When you edit the P.I. (for example change the description), there will be a log line in /var/log/tuleap/program_management_syslog like: [debug] Program increment has iterations: [828,251] With 828 and 251 being the iterations' artifact ids. - If you cannot see an Iteration, its id will not be listed. - If you link without the "_is_child" type, nothing is logged. - If you link an artifact that is not an Iteration (for example if you link a Feature), nothing is logged. - Without the feature flag, nothing is logged. Change-Id: I8f5ee31107acc7da93377ee9ade86cdcc701b2a3

Modified Files

Name
A plugins/program_management/include/Adapter/ArtifactVisibleVerifier.php +46 −0 Go to diff View file
A plugins/program_management/include/Adapter/Program/Backlog/Iteration/IterationsLinkedToProgramIncrementDAO.php +53 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ArtifactUpdatedHandler.php +5 −17 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/IterationReplicationScheduler.php +75 −0 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/Iteration/IterationIdentifier.php +63 −0 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/Iteration/SearchIterations.php +33 −0 Go to diff View file
A plugins/program_management/include/Domain/VerifyIsVisibleArtifact.php +30 −0 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +25 −15 Go to diff View file
A plugins/program_management/tests/unit/Adapter/ArtifactVisibleVerifierTest.php +66 −0 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Feature/UserStoriesInMirroredProgramIncrementsPlannerTest.php +3 −2 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ArtifactUpdatedHandlerTest.php +11 −17 Go to diff View file
A plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/IterationReplicationSchedulerTest.php +90 −0 Go to diff View file
A plugins/program_management/tests/unit/Domain/Program/Backlog/Iteration/IterationIdentifierTest.php +74 −0 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveUserStub.php +2 −3 Go to diff View file
A plugins/program_management/tests/unit/Stub/SearchIterationsStub.php +49 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/VerifyIsVisibleArtifactStub.php +49 −0 Go to diff View file