stable

Clone or download

Read-only

Return the internal identifier in GET post actions

Part of story #12187 configure workflow pre & post actions at target state level How to test: - Create one post action of each kind in a workflow transition - Call /tracker_workflow_transitions/:id/actions with Api Explorer --> Attributes id is returned for each action --> id/type or id/type/field_type (when type=set_field_value) is unique among all post actions Change-Id: Id943a163e4bd211c29dd13c37f87f3bf7c08200a

Modified Files

Name
M plugins/tracker/include/REST/v1/Workflow/PostAction/PostActionsRepresentationBuilder.php +4 −0 Go to diff View file
M plugins/tracker/include/REST/v1/Workflow/PostAction/RunJobRepresentation.php +15 −3 Go to diff View file
M plugins/tracker/include/REST/v1/Workflow/PostAction/SetFieldValueRepresentation.php +31 −7 Go to diff View file
M plugins/tracker/phpunit/REST/v1/Workflow/PostAction/PostActionsRepresentationBuilderTest.php +4 −0 Go to diff View file