Project

General

Profile

Actions

Feature #23020

closed

Default assigned_to when receiving emails

Added by Charles Fulton almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Email receiving
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

I have multiple aliases configured to read emails from standard input. For one, I want anything sent to a given alias to be sent to a particular project and assigned to a particular group that's in the project. This is my invocation string (anonymized):

foo: "|cd /path/to/files && /usr/bin/bundle exec rake -f /path/to/files/Rakefile redmine:email:read tracker=Support project=myproject unknown_user=accept no_permission_check=1 assigned_to=MyGroupName status=New allow_override=tracker,status,priority,done_ratio,assigned_to RAILS_ENV=\"production\""

If I just send an email to foo@redmine this doesn't quite work; the issue is created in myproject but the assignee is blank. Now, if I send an email and include Assigned to: MyGroupName it works as expected: the issue is created in my project and is assigned to MyGroupName.

Environment:
  Redmine version                2.6.8.stable
  Ruby version                   1.8.7-p352 (2011-06-30) [x86_64-linux]
  Rails version                  3.2.22
  Environment                    production
  Database adapter               MySQL
Actions #1

Updated by Charles Fulton almost 8 years ago

I should have researched this more thoroughly before posting. I realize now that per RedmineReceivingEmails the only issue options which the rake task will read are project, status, tracker, category, and priority. It would be helpful to add assigned_to to that list.

Actions #2

Updated by Jean-Philippe Lang almost 8 years ago

  • Subject changed from Cannot set a group as the default assigned_to when receiving emails via a rake task to Default assigned_to when receiving emails
  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Target version set to 3.3.0
  • Resolution set to Fixed

Option added in r15547 for 3.3.0.

Actions #3

Updated by Jean-Philippe Lang almost 8 years ago

  • Tracker changed from Defect to Feature
Actions #4

Updated by Jean-Philippe Lang almost 8 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF