stable

Clone or download

Read-only

feat: save the parent(s) of an artifact

This is the backend edition of git #tuleap/stable/c975e647ca53f3cff522bef742ba1432f070b11e When the user submit the artifact, if in artifact link field the new "Parent" option is selected, then given artifact(s) will be set as parent(s). Part of story #23042: have "parent" as type within artifacts links Change-Id: Ib5c9e1afd0929d2779b3ae1fc611761a38ca345d

Modified Files

Name
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/ParentLinkAction.php +17 −9 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/RequestDataAugmentor.php +21 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_ArtifactLink.php +1 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Field/ArtifactLink/ParentLinkActionTest.php +61 −7 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Field/ArtifactLink/RequestDataAugmentorTest.php +27 −3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Tracker_FormElement_Field_ArtifactLinkTest.php +3 −3 Go to diff View file