stable
Clone or download
Closes request #39352 Program add to top backlog post-action should ignore Teams How to test: - Create a Program from the Agile Release Train XML template. Do not link any Teams to it. - Create a Features artifact F. Then, change its status to "To plan". - In DB, in the table plugin_program_management_explicit_top_backlog, you should see a row with the artifact ID of the Feature F id. - If you deactivate the Program service in this project, the "Add to top backlog" post-action should no longer appear in the workflow configuration and should do nothing. - When you add a Team to this Program, and then go to the Program app, then you should see the Feature F in the top backlog. Why? The execution of the "Add to Top backlog" post-action was linked to having a Program completely configured and linked to Teams. There is no real functional reason to forbid this post action when the Program has no Teams. At worst case, it will add to the top backlog, but then it cannot be planned anywhere because there are no Teams. This made it hard to use Templates for Programs, because by definition, a Template of a Program will never be linked to any Teams, as its purpose is to be duplicated. This completes the fixes related to Template projects for Program Management. Notes: PermissionBypass usage with ProgramIdentifier has been completely removed, as this was the last usage. PermissionBypass is still used for verifications linked to Features though. Change-Id: I9ec7aefccba9383674d8af47e799ad3905b51552
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/SynchronizeTeamProcessor.php | +1 | −2 | Go to diff View file |
M | plugins/program_management/include/Adapter/Program/Backlog/TopBacklog/ArtifactTopBacklogActionBuilder.php | +5 | −1 | Go to diff View file |
M | plugins/program_management/include/Adapter/Program/Backlog/TopBacklog/MassChangeTopBacklogActionBuilder.php | +5 | −1 | Go to diff View file |
M | plugins/program_management/include/Adapter/Program/Backlog/TopBacklog/MassChangeTopBacklogActionProcessor.php | +5 | −1 | Go to diff View file |
M | plugins/program_management/include/Adapter/Program/Backlog/TopBacklog/Workflow/AddToTopBacklogPostAction.php | +14 | −20 | Go to diff View file |
M | plugins/program_management/include/Adapter/Program/Backlog/TopBacklog/Workflow/AddToTopBacklogPostActionFactory.php | +3 | −5 | Go to diff View file |
M | plugins/program_management/include/Adapter/Program/Plan/CachedProgramBuilder.php | +2 | −3 | Go to diff View file |
M | plugins/program_management/include/Adapter/Program/Plan/ProgramAdapter.php | +4 | −9 | Go to diff View file |
M | plugins/program_management/include/DisplayPlanIterationsController.php | +1 | −2 | Go to diff View file |
M | plugins/program_management/include/DisplayProgramBacklogController.php | +1 | −1 | Go to diff View file |
M | plugins/program_management/include/Domain/Program/Admin/Configuration/ProgramAdminTeam.php | +1 | −2 | Go to diff View file |
M | plugins/program_management/include/Domain/Program/Backlog/CreationCheck/ConfigurationErrorsGatherer.php | +1 | −2 | Go to diff View file |
M | plugins/program_management/include/Domain/Program/Backlog/ProgramBacklogSearcher.php | +1 | −1 | Go to diff View file |
M | plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/ProgramIncrementsSearcher.php | +1 | −1 | Go to diff View file |
M | plugins/program_management/include/Domain/Program/Backlog/TeamSynchronization/MissingProgramIncrementCreator.php | +1 | −2 | Go to diff View file |
M | plugins/program_management/include/Domain/Program/Plan/BuildProgram.php | +1 | −2 | Go to diff View file |
M | plugins/program_management/include/Domain/Program/ProgramIdentifier.php | +3 | −5 | Go to diff View file |
M | plugins/program_management/include/Domain/Team/PossibleParentHandler.php | +1 | −2 | Go to diff View file |
M | plugins/program_management/include/REST/v1/ProjectResource.php | +1 | −1 | Go to diff View file |
M | plugins/program_management/include/SynchronizeTeamController.php | +1 | −2 | Go to diff View file |
M | plugins/program_management/include/program_managementPlugin.php | +0 | −1 | Go to diff View file |
M | plugins/program_management/tests/unit/Adapter/Program/Backlog/TopBacklog/Workflow/AddToTopBacklogPostActionFactoryTest.php | +0 | −2 | Go to diff View file |
M | plugins/program_management/tests/unit/Adapter/Program/Backlog/TopBacklog/Workflow/AddToTopBacklogPostActionRepresentationTest.php | +6 | −6 | Go to diff View file |
M | plugins/program_management/tests/unit/Adapter/Program/Backlog/TopBacklog/Workflow/AddToTopBacklogPostActionTest.php | +46 | −43 | Go to diff View file |
M | plugins/program_management/tests/unit/Adapter/Program/Plan/CachedProgramBuilderTest.php | +3 | −3 | Go to diff View file |
M | plugins/program_management/tests/unit/Adapter/Program/Plan/ProgramAdapterTest.php | +4 | −28 | Go to diff View file |
M | plugins/program_management/tests/unit/Domain/Program/ProgramIdentifierTest.php | +1 | −13 | Go to diff View file |
M | plugins/program_management/tests/unit/Tests/Builder/ProgramIdentifierBuilder.php | +2 | −2 | Go to diff View file |
M | plugins/program_management/tests/unit/Tests/Stub/BuildProgramStub.php | +1 | −2 | Go to diff View file |
A | plugins/program_management/tests/unit/Tests/Stub/Program/Backlog/TopBacklog/TopBacklogChangeProcessorStub.php | +56 | −0 | Go to diff View file |