stable
Clone or download
Read-only
part of story #24969 [modal] add and remove links (replace current artifact link) How to test: - GET trackers/:id/parent_artifacts - the Artifact representation of returned Artifacts should have a "xref" property containing the artifact's cross reference. - the Tracker representation of returned Artifacts should have a "color_name" property containing the tracker color. Notes: These properties are necessary to show the cross-reference badges in the new Link field. Change-Id: I528fe62fb1374991a45b6a24e6a9fe48d52009f1
Modified Files
Name | ||||
---|---|---|---|---|
R | plugins/tracker/include/REST/Artifact/ParentArtifactReference.php | Go to diff View file | ||
M | plugins/tracker/include/REST/v1/TrackersResource.class.php | +3 | −3 | Go to diff View file |
A | plugins/tracker/tests/unit/REST/Artifact/ParentArtifactRepresentationTest.php | +81 | −0 | Go to diff View file |
M | tests/lib/Builders/ProjectTestBuilder.php | +7 | −0 | Go to diff View file |