Joel Meador

rants and raves

Export Spent Time Column to CSV in Redmine

leave a comment »

Follow these instructions to get the spent time field to appear in the default csv export of issues in redmine.

1. To lang/en.yml, add a line at the end of the ‘field_x’ lines (line 182-ish):
  field_spent_hours: Spent time
2. To app/helpers/issues_helper.rb add (at line 142) a new header to ‘headers’:
  l(:field_spent_hours)
3. To app/helpers/issues_helper.rb add (as line 169) a new field to ‘fields’:
  issue.spent_hours

Now you are exporting spent time.

Completed in Redmine 7.0.3

Written by joelmeador

November 30, 2008 at 9:16 am

Posted in code

Tagged with

Leave a Reply