stable

Clone or download

Read-only

Hidden fieldsets are returned by the REST route artifacts/:id

This is part of story #12188 hide fieldsets according to state When querying an artifact with the complete tracker representation, fieldsets have a new attribute named "is_hidden" that correspond to the workflow state to map the artifact UI behaviour. Change-Id: Iaf36e427f3b556fe6f21c61d6d4d5cf3c6cb391d

Modified Files

Name
M plugins/timetracking/include/Timetracking/REST/v1/ProjectResource.php +27 −9 Go to diff View file
A plugins/tracker/include/REST/ContainerFieldsetInArtifactContextRepresentation.php +44 −0 Go to diff View file
M plugins/tracker/include/REST/FieldDateRepresentation.class.php +1 −1 Go to diff View file
M plugins/tracker/include/REST/FieldOpenListRepresentation.class.php +1 −1 Go to diff View file
M plugins/tracker/include/REST/FormElementRepresentationsBuilder.php +45 −14 Go to diff View file
M plugins/tracker/include/REST/v1/ArtifactsResource.class.php +26 −9 Go to diff View file
M plugins/tracker/include/REST/v1/ProjectTrackersResource.class.php +28 −10 Go to diff View file
M plugins/tracker/include/REST/v1/TrackersResource.class.php +49 −18 Go to diff View file
M plugins/tracker/phpunit/REST/FormElementRepresentationsBuilderTest.php +6 −3 Go to diff View file