Fix issue import to accept export format
We want to be able to export issues and then use that export file to import the issues to another GitLab project. Prior to this change, the format of the export file did not match the structure of the file that the issue importer expects. This change expands the importer to first look for the know export column names and then fallback to positional values if they are not present. Addresses: - https://gitlab.com/gitlab-org/gitlab/issues/199038 - https://gitlab.com/gitlab-org/gitlab/issues/30931
显示
- app/services/issues/import_csv_service.rb 13 个添加, 2 个删除app/services/issues/import_csv_service.rb
- changelogs/unreleased/jhyson-issue-import-export-consistency.yml 5 个添加, 0 个删除...ogs/unreleased/jhyson-issue-import-export-consistency.yml
- doc/user/project/issues/csv_import.md 4 个添加, 4 个删除doc/user/project/issues/csv_import.md
- ee/spec/services/issues/export_csv_service_spec.rb 4 个添加, 0 个删除ee/spec/services/issues/export_csv_service_spec.rb
- spec/fixtures/csv_gitlab_export.csv 5 个添加, 0 个删除spec/fixtures/csv_gitlab_export.csv
- spec/services/issues/import_csv_service_spec.rb 50 个添加, 0 个删除spec/services/issues/import_csv_service_spec.rb
spec/fixtures/csv_gitlab_export.csv
0 → 100644
想要评论请 注册 或 登录