stable
Clone or download
Read-only
Return hidden fieldsets actions in REST GET /tracker_workflow_transitions/{id}/actions
This is part of story #12188 hide fieldsets according to state If you have manually created a hidden fieldsets post action for a given state, then this action is returned in the REST route GET /tracker_workflow_transitions/{id}/actions To have this working, the feature flag $sys_should_use_hidden_fieldsets_post_actions must be set to 1 in the local.inc file or in database. Change-Id: Id71f95fea005f92efb0d3270ec7f4cc6c83b9c6f
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/tracker/include/REST/v1/Workflow/PostAction/HiddenFieldsetsRepresentation.php | +73 | −0 | Go to diff View file |
M | plugins/tracker/include/REST/v1/Workflow/PostAction/PostActionsRepresentationBuilder.php | +14 | −0 | Go to diff View file |
M | plugins/tracker/include/Workflow/PostAction/HiddenFieldsets/HiddenFieldsets.php | +1 | −1 | Go to diff View file |
A | plugins/tracker/include/Workflow/PostAction/HiddenFieldsets/HiddenFieldsetsFactory.php | +170 | −0 | Go to diff View file |
M | plugins/tracker/include/Workflow/PostAction/Transition_PostActionFactory.class.php | +20 | −0 | Go to diff View file |
M | plugins/tracker/include/Workflow/PostAction/Visitor.php | +3 | −0 | Go to diff View file |