stable

Clone or download

Read-only

Do not add AddToTopBacklog post action if tracker is not top backlog tracker

This is part of story #14096 have a post action to add "Scrum Top Backlog" flag If the tracker is not a top backlog tracker, then the UI to add the AddToTopBacklog post action in the workflow must not be displayed. In addition, the REST backend must block the call if a AddToTopBacklog post action is provided if tracker is not top backlog tracker. Change-Id: I22694f1722b224e064611032f4cd353a3d84e66d

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/Artifact/AdditionalArtifactActionBuilder.php +10 −2 Go to diff View file
A plugins/agiledashboard/include/Planning/PlanningTrackerBacklogChecker.php +56 −0 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.php +43 −6 Go to diff View file
M plugins/agiledashboard/phpunit/AgileDashboard/Artifact/AdditionalArtifactActionBuilderTest.php +18 −10 Go to diff View file
A plugins/agiledashboard/phpunit/AgileDashboard/Planning/PlanningTrackerBacklogCheckerTest.php +146 −0 Go to diff View file
M plugins/agiledashboard/site-content/fr_FR/LC_MESSAGES/tuleap-agiledashboard.po +10 −2 Go to diff View file
M plugins/tracker/include/Tracker/Workflow/WorkflowTransitionController.php +4 −10 Go to diff View file
M plugins/tracker/include/Workflow/PostAction/GetExternalPostActionPluginsEvent.php +11 −11 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +1 −2 Go to diff View file