https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292011-04-26T12:52:40ZRedmineRedmine - Feature #4522: Allow setting of custom fields in redmine:email:receive_imaphttps://www.redmine.org/issues/4522?journal_id=283082011-04-26T12:52:40ZPedro Gutierrez
<ul></ul><p>Hi Ian,<br />I have the same problem.<br />Did you find any solution?</p>
<p>There is a <a href="http://www.redmine.org/boards/2/topics/14226?r=23582" class="external">similar problem posted in the forums</a> but as you can see, there is no answer.</p> Redmine - Feature #4522: Allow setting of custom fields in redmine:email:receive_imaphttps://www.redmine.org/issues/4522?journal_id=521832013-09-30T14:45:58ZGregor K
<ul></ul><p>I also like to see this fixed. Specially for mandatory fields this is very useful to prevent the emails from being ignored without any further notice.</p> Redmine - Feature #4522: Allow setting of custom fields in redmine:email:receive_imaphttps://www.redmine.org/issues/4522?journal_id=605992014-12-26T16:50:23ZStanislav German-Evtushenko
<ul></ul><p>I can add a required field directly to the code but it would be nice to be able to do this in a proper way.</p>
<pre>
--- mail_handler.rb (revision 12902)
+++ mail_handler.rb (working copy)
@@ -50,7 +50,7 @@
# Use when receiving emails with rake tasks
def self.extract_options_from_env(env)
options = {:issue => {}}
- %w(project status tracker category priority).each do |option|
+ %w(project status tracker category priority due_date).each do |option|
options[:issue][option.to_sym] = env[option] if env[option]
end
%w(allow_override unknown_user no_permission_check no_account_notice default_group).each do |option|
</pre>