stable

Clone or download

Read-only

XML import of AddToTopBacklog post action

This is part of story #14096 have a post action to add "Scrum Top Backlog" flag You can now add an AddToTopBacklog post action with the tracker XML import: <postactions> <postaction_add_to_top_backlog/> </postactions> Only one tag is allowed. It must work in both simple or advanced workflow mode. XML Import must not be done if a post action is defined and cannot be imported in both tracker or full project import. Better error messages displayed when the pre checks are not OK in project XML import will be handled in a dedicated commit. Change-Id: I51f9ef37d24f8b31b7f5e7500b967f47102b99a8

Modified Files

Name
A plugins/agiledashboard/include/AgileDashboard/ExplicitBacklog/CreateTrackerFromXMLChecker.php +95 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Workflow/AddToTopBacklog.php +2 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Workflow/AddToTopBacklogPostActionFactory.php +10 −2 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.php +72 −4 Go to diff View file
A plugins/agiledashboard/phpunit/AgileDashboard/ExplicitBacklog/CreateTrackerFromXMLCheckerTest.php +240 −0 Go to diff View file
M plugins/agiledashboard/site-content/fr_FR/LC_MESSAGES/tuleap-agiledashboard.po +7 −0 Go to diff View file
M plugins/agiledashboard/tests/rest/ExplicitBacklog/WorkflowPostActionTest.php +85 −46 Go to diff View file
M plugins/agiledashboard/tests/rest/_fixtures/explicit-backlog/project.xml +3 −0 Go to diff View file
A plugins/tracker/include/CreateTrackerFromXMLEvent.php +62 −0 Go to diff View file
M plugins/tracker/include/TrackerXmlImport.class.php +4 −0 Go to diff View file
A plugins/tracker/include/Workflow/PostAction/ExternalPostActionSaveObjectEvent.php +49 −0 Go to diff View file
A plugins/tracker/include/Workflow/PostAction/GetExternalSubFactoryByNameEvent.php +61 −0 Go to diff View file
A plugins/tracker/include/Workflow/PostAction/GetPostActionShortNameFromXmlTagNameEvent.php +63 −0 Go to diff View file
M plugins/tracker/include/Workflow/PostAction/Transition_PostActionFactory.class.php +27 −2 Go to diff View file
M plugins/tracker/www/resources/workflow.rnc +2 −1 Go to diff View file
M plugins/tracker/www/resources/workflow.rng +5 −0 Go to diff View file
M src/common/xml/resources/project/workflow.rng +5 −0 Go to diff View file