stable

Clone or download

Read-only

chore(jira): refactor permissions

In order to be able in a future commit to have different permissions depending on the initial jira field, the permissions of fields must be managed at field level rather than in a dedicated exporter. The refactoring should be ISO with existing code modulo the order of the permissions in generated XML. Part of: request #24222 Jira import fields that are only updated Change-Id: I16e6513de0abe1487224266af21c542fd5326d6b

Modified Files

Name
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/AlwaysThereFieldsExporter.php +29 −10 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraXmlExporter.php +41 −17 Go to diff View file
D plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Permissions/PermissionsXMLExporter.php +0 −75 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Structure/JiraToTuleapFieldTypeMapper.php +15 −15 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Structure/StoryPointFieldExporter.php +1 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/JiraXmlExporterTest.php +0 −2 Go to diff View file
D plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Permissions/PermissionsXMLExporterTest.php +0 −138 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Structure/JiraToTuleapFieldTypeMapperTest.php +7 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IXMC/tracker.xml +21 −23 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SBX/tracker.xml +15 −17 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/tracker.xml +15 −17 Go to diff View file