OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Parse "remaining hours" on incoming emails to derive done ratios
Aaron Contrerasb962bb7bde01
diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rbindex 74e8515e121..8e3290ad2b2 100644--- a/app/models/mail_handler.rb+++ b/app/models/mail_handler.rb@@ -387,7 +387,7 @@ class MailHandler < ActionMailer::Base'start_date' => wp_start_date_from_keywords,'due_date' => wp_due_date_from_keywords,'estimated_hours' => wp_estimated_hours_from_keywords,- 'done_ratio' => wp_done_ratio_from_keyword+ 'remaining_hours' => wp_remaining_hours_from_keywords}.compact_blank!end@@ -565,8 +565,8 @@ class MailHandler < ActionMailer::Baseget_keyword(:estimated_hours, override: true)end- def wp_done_ratio_from_keyword- get_keyword(:done_ratio, override: true, format: '(\d|10)?0')+ def wp_remaining_hours_from_keywords+ get_keyword(:remaining_hours, override: true)enddef log(message, level = :info, report: true)