stable
Clone or download
Read-only
It seems that Jira allows to rename issueType (eg Epic to EpicEN) but they cannot make it consistent in the API because `EpicEN` is listed as issueType name in /project output but when one tries to re-use that in other part of the API that accepts issueTypeName it's not a valid value 🙄. This patch replace usage of name by IssueTypeId that hopefully doesn't change and is accepted everywhere we need it. Part of story #18859 import a whole Jira project in CLI Change-Id: I756dbe80708ed76ef5a65b1bd8513d166fa8f9eb
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/db/install.sql | +1 | −0 | Go to diff View file |
A | plugins/tracker/db/mysql/updates/2021/202101211448_add_jira_issue_type_id_column.php | +46 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/AsyncJiraScheduler.php | +2 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/ClientWrapper.php | +1 | −4 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/CreateProjectFromJira.php | +3 | −3 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/FromJiraTrackerCreator.php | +3 | −3 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/ArtifactsXMLExporter.php | +2 | −2 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/ImportNotifier/JiraErrorImportNotifier.php | +1 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraXmlExporter.php | +7 | −7 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Structure/JiraFieldRetriever.php | +2 | −2 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Values/StatusValuesCollection.php | +2 | −2 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/JiraConnectionException.php | +36 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/JiraRunner.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/PendingJiraImport.php | +12 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/PendingJiraImportBuilder.php | +2 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/PendingJiraImportDao.php | +2 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/TrackerCreationProcessorController.php | +2 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/AsyncJiraSchedulerTest.php | +6 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/ClientWrapperTest.php | +1 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/AlwaysThereFieldsExporterTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Values/StatusValuesCollectionTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/JiraRunnerTest.php | +4 | −3 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/PendingJiraImportBuilderTest.php | +1 | −0 | Go to diff View file |