stable

Clone or download

Read-only

[Refactoring] DRY TQL reports

part of: story #14999 Reports based on Jira filters The goal of this commit is to have common code between reports built using TQL. As they all have default criterias and only add a custom expert_query attribute on their <report> tag, we can DRY things up. No functional change expected Change-Id: Ia9b1b5ff595fe7b80a177b3554ceb052954b9aa2

Modified Files

Name
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraXmlExporter.php +9 −10 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Reports/XmlReportCreatedRecentlyExporter.php +29 −50 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Reports/XmlReportUpdatedRecentlyExporter.php +29 −53 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Reports/XmlTQLReportExporter.php +88 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Reports/XmlReportCreatedRecentlyExporterTest.php +6 −3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Reports/XmlReportUpdatedRecentlyExporterTest.php +6 −3 Go to diff View file