Thursday, October 31, 2013

Redmine - Open issue via email


After Redmine version 0.8.0, you can configure Redmine to open a issue via email. Redmine's official wiki gives a very good instruction on how to set it up, follow the instruction (http://www.redmine.org/projects/redmine/wiki/RedmineReceivingEmails) and you should be able to go.

But Redmine wiki doesn't provide a email template , after couple of tries, I figured it out by myself, here is the email template to use:

Email content:
============================
Project: Project name
Description: This is a issue created by emai
Priority: Low
Assignee: tony
Due date: 2013-11-12
Tracker: Bug
============================

Note, the project is actually the project identifier, not the project name, you can find project identifier under settings of each project. Also, you might want to disable the permission checking, using "no_permission_check=1" in the command. This allows Redmine to let anyone submit emails to a private project.

The email subject will become the new Redmine issue subject.

The command I use:

*/5 * * * * /usr/local/bin/rake -f /var/www/redmine/Rakefile redmine:email:receive_imap RAILS_ENV="production" host=xx.xxx.xxx.xxx username=xxxxxxxx@xxxx.com password=xxxxxxxx allow_override=project,tracker,priority no_permission_check=1

2 comments:

Marshall628 said...

Nice, I am using redmine as well.

I'll configure the template there.

laksh.R said...

Nice, I evaluate previously on Centos 6. I'll give try to this..