stable

Clone or download

Read-only

feat(jira): import fields used at edition

This commit allow jira import to take into account fields that can only be set at issue update. Until now, those fields were ignored because we relied on createmeta route only. With this implementation, all (supported) fields should be imported but there is one caveat: the will all be "Submittable" in Tuleap. Depending on the trackers that might generate a very large artifact creation form. The management of the appropriate permissions will be done in a dedicated commit. Part of: request #24222 Jira import fields that are only updated Change-Id: Ib564cf533b48b04020c694d2a7afc8d66fa3ed0b

Modified Files

Name
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Structure/JiraFieldRetriever.php +30 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/JiraXmlExporterTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Structure/JiraFieldRetrieverTest.php +136 −65 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IXMC/expand_editmeta_search.json +8 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IXMC/manifest.log +1 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SBX/expand_editmeta_search.json +906 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SBX/manifest.log +1 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SBX/tracker.xml +304 −49 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/3366146eab44aaacf8c2f771a8f21d2998beb186 +1 −1 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/99f83eca311bc2ae4b5d48f7b6ae9e04d2023f8f +1 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/manifest.log +1 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/tracker.xml +71 −71 Go to diff View file