stable
Clone or download
Read-only
This is part of story #12187 configure workflow pre & post actions at target state level When calling the REST endpoint PUT tracker_workflow_transitions/:id/actions, if the workflow is in simple mode, then all siblings transitions are updated to have the same post actions. Change-Id: I193b8188036e160eb6aa0cf3a8792ac9f0e46585
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/REST/v1/Workflow/PostAction/PUTHandler.php | +34 | −4 | Go to diff View file |
M | plugins/tracker/include/REST/v1/Workflow/PostAction/Update/CIBuildJsonParser.php | +10 | −2 | Go to diff View file |
M | plugins/tracker/include/REST/v1/Workflow/PostAction/Update/PostActionCollectionJsonParser.php | +5 | −4 | Go to diff View file |
M | plugins/tracker/include/REST/v1/Workflow/PostAction/Update/PostActionUpdateJsonParser.php | +2 | −1 | Go to diff View file |
M | plugins/tracker/include/REST/v1/Workflow/PostAction/Update/SetDateValueJsonParser.php | +9 | −2 | Go to diff View file |
M | plugins/tracker/include/REST/v1/Workflow/PostAction/Update/SetFloatValueJsonParser.php | +9 | −2 | Go to diff View file |
M | plugins/tracker/include/REST/v1/Workflow/PostAction/Update/SetIntValueJsonParser.php | +9 | −2 | Go to diff View file |
M | plugins/tracker/include/REST/v1/Workflow/TransitionsResource.class.php | +9 | −2 | Go to diff View file |
M | plugins/tracker/include/Workflow/PostAction/Update/PostActionCollectionUpdater.php | +18 | −2 | Go to diff View file |
M | plugins/tracker/phpunit/REST/v1/Workflow/PostAction/Update/CIBuildJsonParserTest.php | +74 | −23 | Go to diff View file |
M | plugins/tracker/phpunit/REST/v1/Workflow/PostAction/Update/PostActionCollectionJsonParserTest.php | +18 | −6 | Go to diff View file |
M | plugins/tracker/phpunit/REST/v1/Workflow/PostAction/Update/SetDateValueJsonParserTest.php | +141 | −60 | Go to diff View file |
M | plugins/tracker/phpunit/REST/v1/Workflow/PostAction/Update/SetFloatValueJsonParserTest.php | +142 | −61 | Go to diff View file |
M | plugins/tracker/phpunit/REST/v1/Workflow/PostAction/Update/SetIntValueJsonParserTest.php | +144 | −60 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Workflow/PostAction/Update/PostActionCollectionUpdaterTest.php | +39 | −0 | Go to diff View file |