@@ -128,6 +128,9 class IssueImport < Import | |||||
128 | if due_date = row_date(row, 'due_date') |
|
128 | if due_date = row_date(row, 'due_date') | |
129 | attributes['due_date'] = due_date |
|
129 | attributes['due_date'] = due_date | |
130 | end |
|
130 | end | |
|
131 | if estimated_hours = row_value(row, 'estimated_hours') | |||
|
132 | attributes['estimated_hours'] = estimated_hours | |||
|
133 | end | |||
131 | if done_ratio = row_value(row, 'done_ratio') |
|
134 | if done_ratio = row_value(row, 'done_ratio') | |
132 | attributes['done_ratio'] = done_ratio |
|
135 | attributes['done_ratio'] = done_ratio | |
133 | end |
|
136 | end |
@@ -74,6 +74,10 | |||||
74 | <%= mapping_select_tag @import, 'due_date' %> |
|
74 | <%= mapping_select_tag @import, 'due_date' %> | |
75 | </p> |
|
75 | </p> | |
76 | <p> |
|
76 | <p> | |
|
77 | <label><%= l(:field_estimated_hours) %></label> | |||
|
78 | <%= mapping_select_tag @import, 'estimated_hours' %> | |||
|
79 | </p> | |||
|
80 | <p> | |||
77 | <label><%= l(:field_done_ratio) %></label> |
|
81 | <label><%= l(:field_done_ratio) %></label> | |
78 | <%= mapping_select_tag @import, 'done_ratio' %> |
|
82 | <%= mapping_select_tag @import, 'done_ratio' %> | |
79 | </p> |
|
83 | </p> |
@@ -1,4 +1,4 | |||||
1 | priority;subject;description;start_date;due_date;parent;private;progress;custom;version;category;user |
|
1 | priority;subject;description;start_date;due_date;parent;private;progress;custom;version;category;user;estimated_hours | |
2 | High;First;First description;2015-07-08;2015-08-25;;no;;PostgreSQL;;New category;dlopper |
|
2 | High;First;First description;2015-07-08;2015-08-25;;no;;PostgreSQL;;New category;dlopper;1 | |
3 | Normal;Child 1;Child description;;;1;yes;10;MySQL;2.0;New category; |
|
3 | Normal;Child 1;Child description;;;1;yes;10;MySQL;2.0;New category;;2 | |
4 | Normal;Child of existing issue;Child description;;;#2;no;20;;2.1;Printing; |
|
4 | Normal;Child of existing issue;Child description;;;#2;no;20;;2.1;Printing;;3 |
General Comments 0
You need to be logged in to leave comments.
Login now