stable

Clone or download

Read-only

Add datamodel and perform post action

This is part of story #14096 have a post action to add "Scrum Top Backlog" flag The datamodel (database structure) for a new "add to top backlog" post action has been added. You have to add manually the post action in the MySQL table named plugin_agiledashboard_tracker_workflow_action_add_top_backlog Once added, when an artifact do the transition, then it's added in the explicit top backlog if the project is configured to use the explicit backlog. Nothing must occurs if the artifact is either already in the top backlog or already planned in a submilestone. No feedback is displayed yet, it will be handled in a dedicated commit. Change-Id: I10a8c0126889be63b68ecc1de3c9ed3520c89dd0

Modified Files

Name
M plugins/agiledashboard/db/install.sql +7 −0 Go to diff View file
A plugins/agiledashboard/db/mysql/updates/2020/202001131436_add_tracker_workflow_add_top_backlog_table.php +56 −0 Go to diff View file
M plugins/agiledashboard/db/uninstall.sql +1 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/ExplicitBacklog/UnplannedArtifactsAdder.php +70 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Workflow/AddToTopBacklog.php +103 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Workflow/AddToTopBacklogPostActionDao.php +37 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Workflow/AddToTopBacklogPostActionFactory.php +102 −0 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.php +17 −0 Go to diff View file
A plugins/agiledashboard/phpunit/AgileDashboard/ExplicitBacklog/UnplannedArtifactsAdderTest.php +123 −0 Go to diff View file
A plugins/agiledashboard/phpunit/AgileDashboard/Workflow/AddToTopBacklogPostActionFactoryTest.php +85 −0 Go to diff View file
A plugins/tracker/include/Workflow/PostAction/GetExternalSubFactoriesEvent.php +52 −0 Go to diff View file
M plugins/tracker/include/Workflow/PostAction/PostActionSubFactories.class.php +5 −3 Go to diff View file
M plugins/tracker/include/Workflow/PostAction/Transition_PostActionFactory.class.php +15 −0 Go to diff View file
M plugins/tracker/include/Workflow/PostAction/Transition_PostActionManager.class.php +4 −2 Go to diff View file
M plugins/tracker/include/Workflow/TransitionFactory.class.php +2 −2 Go to diff View file
M plugins/tracker/tests/workflow/PostAction/Transition_PostActionFactoryTest.php +19 −1 Go to diff View file