stable

Clone or download

Read-only

Update PUT /tracker_workflow_transitions/{id}/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 REST API. You have to provided the following json content: { "type": "add_to_top_backlog", "id": null } If multiple AddToTopBacklog post actions are provided, only one is added. If no AddToTopBacklog post action is provided, then the existing post action is removed. Change-Id: Ic39330af321411b12fd9a1f886260afef4d46beb

Modified Files

Name
R plugins/agiledashboard/include/AgileDashboard/ExplicitBacklog/UnplannedReportCriterionProjectNotUsingExplicitBacklogException.php Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/ExplicitBacklog/UnplannedReportCriterionMatchingIdsRetriever.php +2 −2 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Workflow/AddToTopBacklogPostActionDao.php +2 −3 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Workflow/PostAction/Update/AddToTopBacklogValue.php +34 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Workflow/PostAction/Update/Internal/AddToTopBacklogValueRepository.php +53 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Workflow/PostAction/Update/Internal/AddToTopBacklogValueUpdater.php +59 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Workflow/REST/v1/AddToTopBacklogJsonParser.php +72 −0 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.php +27 −2 Go to diff View file
M plugins/agiledashboard/phpunit/AgileDashboard/ExplicitBacklog/UnplannedReportCriterionMatchingIdsRetrieverTest.php +1 −1 Go to diff View file
A plugins/agiledashboard/phpunit/AgileDashboard/Workflow/PostAction/Update/Internal/AddToTopBacklogValueUpdaterTest.php +102 −0 Go to diff View file
A plugins/agiledashboard/phpunit/AgileDashboard/Workflow/REST/v1/AddToTopBacklogJsonParserTest.php +126 −0 Go to diff View file
M plugins/agiledashboard/site-content/fr_FR/LC_MESSAGES/tuleap-agiledashboard.po +10 −4 Go to diff View file
A plugins/agiledashboard/tests/rest/ExplicitBacklog/WorkflowPostActionTest.php +123 −0 Go to diff View file
A plugins/tracker/include/REST/v1/Event/GetExternalPostActionJsonParserEvent.php +49 −0 Go to diff View file
M plugins/tracker/include/REST/v1/Workflow/TransitionsResource.class.php +25 −3 Go to diff View file
A plugins/tracker/include/Workflow/Event/GetWorkflowExternalPostActionsValueUpdater.php +49 −0 Go to diff View file
M plugins/tracker/include/Workflow/PostAction/Update/PostActionCollection.php +15 −0 Go to diff View file
M plugins/tracker/include/Workflow/PostAction/Update/PostActionVisitor.php +4 −1 Go to diff View file
M plugins/tracker/include/Workflow/SimpleMode/TransitionReplicatorBuilder.php +13 −1 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/store/transition-modal/transition-mutations.js +1 −4 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/store/transition-modal/transition-mutations.test.js +0 −7 Go to diff View file