summaryrefslogtreecommitdiffstats
path: root/test/fixtures
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-02-19 14:52:02 +0000
committerGo MAEDA <maeda@farend.jp>2020-02-19 14:52:02 +0000
commitefbfc7616151c79ed26039103b0915e3a1978491 (patch)
treedd6df84053e383faa553c4cedf0453eb58df32e4 /test/fixtures
parent4d341f0f143c0327c85ac67da0b984c453cee144 (diff)
downloadredmine-efbfc7616151c79ed26039103b0915e3a1978491.tar.gz
redmine-efbfc7616151c79ed26039103b0915e3a1978491.zip
Auto select fields mapping in import based on the internal field name (ex: estimared_hours, fixed_version, spent_on) or field label (Estimated hours, Version, Date) (#22913).
* mappings are case insensitive * a field is auto mapped only if there is no mapping setting present for that field * "Current user" default value for User field when the user has permission to log time for other users is override by the auto mapped column Patch by Haihan Ji, Yuichi HARADA, and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19524 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/files/import_issues_auto_mapping.csv2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/fixtures/files/import_issues_auto_mapping.csv b/test/fixtures/files/import_issues_auto_mapping.csv
new file mode 100644
index 000000000..49785f7a4
--- /dev/null
+++ b/test/fixtures/files/import_issues_auto_mapping.csv
@@ -0,0 +1,2 @@
+priority;Subject;start_date;parent;private;progress;custom;"target version";category;user;estimated_hours;tracker;status;database;cf_6
+High;First;2015-07-08;;no;;PostgreSQL;;New category;dlopper;1;bug;new;"PostgreSQL, Oracle";2