stable

Clone or download

Read-only

Check milestone trackers have an artifact link field

part of story #16124 [release management] ensure Aggregator release creation is possible How to test: - Setup aggregator and contributor projects - In a contributor or an aggregator project, go to the top milestone's tracker administration - Remove the artifact link field - When you browse the aggregator project's top backlog planning, you should NOT see the "Create milestone" button. - If you set back the artifact link field, the button should appear. - Disallow "Can submit" permission for the artifact link field. You should NOT see the "Create milestone" button. - If you set back the permission, the button should appear. - Disallow "Update" permission for the artifact link field. You should NOT see the "Create milestone" button. - If you set back the permission, the button should appear. Change-Id: I074d0e1e7a95142645292156bfbb1f4ef0bce9b8

Modified Files

Name
M plugins/multi_project_backlog/include/Aggregator/Milestone/MilestoneCreatorChecker.php +15 −1 Go to diff View file
M plugins/multi_project_backlog/include/Aggregator/Milestone/MilestoneTrackerCollection.php +1 −0 Go to diff View file
A plugins/multi_project_backlog/include/Aggregator/Milestone/NoArtifactLinkFieldException.php +31 −0 Go to diff View file
A plugins/multi_project_backlog/include/Aggregator/Milestone/SynchronizedFieldCollection.php +53 −0 Go to diff View file
A plugins/multi_project_backlog/include/Aggregator/Milestone/SynchronizedFieldCollectionBuilder.php +54 −0 Go to diff View file
M plugins/multi_project_backlog/include/multi_project_backlogPlugin.php +3 −0 Go to diff View file
M plugins/multi_project_backlog/tests/unit/Aggregator/Milestone/MilestoneCreatorCheckerTest.php +64 −1 Go to diff View file
A plugins/multi_project_backlog/tests/unit/Aggregator/Milestone/SynchronizedFieldCollectionBuilderTest.php +105 −0 Go to diff View file
A plugins/multi_project_backlog/tests/unit/Aggregator/Milestone/SynchronizedFieldCollectionTest.php +72 −0 Go to diff View file