stable

Clone or download

Read-only

feat: Retrieve real artifact data

How to test: - In your web container, enable the feature flag: `tuleap config-set feature_flag_create_artifact 1` - Edit an artifact with an artifact link field with the modal (kanban, TTM or planning view) - Click on the "Create a new artifact" button in the link selector dropdown. - Choose a Project and a Tracker in the select boxes. - Write a title and click on the "Create" button in the inline form. It will create a (real) new artifact and add it to the new links to be saved. All the data of the artifact are real (retrieved from the API). part of story #28823 [modal] create artifact Change-Id: Ia60163928c7b038365ffb298fee9b1649ad97b7d

Modified Files

Name
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/fields/link-field/LinkableArtifactCreator.test.ts +23 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/fields/link-field/LinkableArtifactCreator.ts +7 −19 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field/LinkableNumber.ts +8 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-controller.js +1 −1 Go to diff View file