stable

Clone or download

Read-only

Add feature flag and add all_links key

part of story #24970 [modal] select type for links How to test: Use the all_links in the PUT artifacts/{id} payload => No error is thrown, no functionnal changes on route behaviour set the feature flag with tuleap config-set feature_flag_allow_reverse_links 1 Add all_links in the PUT artifacts/{id} payload => A 400 error is thrown Change-Id: I851e0c2690efaa75b3a488f2e4a262e6c4af5d94

Modified Files

Name
M plugins/tracker/include/REST/Artifact/ChangesetValue/ArtifactLink/NewArtifactLinkChangesetValueBuilder.php +17 −2 Go to diff View file
M plugins/tracker/include/REST/v1/ArtifactValuesRepresentation.class.php +9 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Direction/ReverseLinksFeatureFlag.php +35 −0 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +2 −0 Go to diff View file
M plugins/tracker/tests/unit/REST/Artifact/ChangesetValue/ArtifactLink/NewArtifactLinkChangesetValueBuilderTest.php +32 −3 Go to diff View file