Project

General

Profile

EMail Issue creation: default setting of assignee

Added by S. T. over 10 years ago

Hi all,

is it possible to set the default-assignee of a issue created by mail?

So far, I can only do it inside the mail body with:
assigned to: username

If I try to set it either in email.rake with

    task :receive_imap => :environment do
      imap_options = {:host => ENV['host'],
                      :port => ENV['port'],
                      :ssl => ENV['ssl'],
                      :username => ENV['username'],
                      :password => ENV['password'],
                      :folder => ENV['folder'],
                      :tracker => "Bug",
                      :priority => "Normal",
                      :status => "New",
                      :assignedto => "username",
                      :assigned_to => "username",
                      :"assigned to" => "username",
                      :assignee => "username",
                      :allow_override => "tracker,category,priority,status,assigned_to",
                      :move_on_success => "success",
                      :move_on_failure => "failure"}

and/or when calling rake with

bin/rake -f /opt/bitnami/apps/redmine/htdocs/Rakefile redmine:email:receive_imap RAILS_ENV="production" 
host=imap.gmail.com username=projectinbox@gmail.com password=pwd port=993 ssl=1 project=projname --silent

and additional parameters like "assignedto=username", "assigned_to=username" or "assignee=username", it does not work.

Thank you,
Blama