stable

Clone or download

Read-only

Add open/closed boolean to Artifact representations

part of: story #24968 [modal] have the list of linked artifacts How to test: - When you query any REST route that returns Artifact Representations, you should get a new "is_open" property that is true/false according to the given artifact's Open/Closed semantic. Change-Id: I497a52f349940008d4287b721141fceb5aebedf3

Modified Files

Name
M plugins/tracker/include/REST/Artifact/ArtifactRepresentation.class.php +8 −0 Go to diff View file
M plugins/tracker/tests/unit/REST/Artifact/ArtifactRepresentationBuilderTest.php +15 −58 Go to diff View file
A plugins/tracker/tests/unit/REST/Artifact/ArtifactRepresentationTest.php +119 −0 Go to diff View file