stable

Clone or download

Read-only

Enable/Disable transition rules (Backend)

Part of story #12187 configure workflow pre & post actions at target state level How to test: use api explorer to call PATCH /trackers/:id with query parameter and check transition rules activation is updated. Example: { "workflow": { "set_transitions_rules": { "is_used": true } } } --> 400 error if no workflow defined. --> 200 when succes + you get updated tracker Change-Id: I046a93759edd472720f32b07d48299ed11dc57ec

Modified Files

Name
M plugins/tracker/include/REST/v1/TrackersResource.class.php +61 −27 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +6 −0 Go to diff View file
M plugins/tracker/site-content/tuleap-tracker.pot +6 −0 Go to diff View file
M plugins/tracker/tests/rest/Workflows/TrackerWorkflowsTest.php +34 −0 Go to diff View file