Defect #3093

Redmine Issue Creation By Email

Added by karthikeyan rangaswamy over 8 years ago. Updated over 6 years ago.

Status:NewStart date:2009-04-01
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Email receiving
Target version:-
Resolution: Affected version:

Description

I am currently downloaded Redmine-0.8.2 in my system.I checked the functionality of Issue Creation by Email

I Have sent the following email to an email address to where rake task is configured

project:myprojectidentifier
tracker:mytrackername
priority:mypriorityname
status:mydefaultstatusname
Task Type:my tasktype
Help:my default value

This Task Type,help are the custom fields i have created for issues

I am running the following rake task

rake redmine:email:receive_imap RAILS_ENV="production" host=smtp.gmail.com port=993 ssl=1 username=myusername password=myemailpassword

Whats happening is this whole thing

"project:myprojectidentifier
tracker:mytrackername
priority:mypriorityname
status:mydefaultstatusname
Task Type:my tasktype
Help:my default value"

is considered as Issue description and it is saving under issue description.And the Reamining values are stored appropriately.Only the problem with the issue description

I am not able to pass these custom fields as default values in rake task.

I am able to pass

rake redmine:email:receive_imap RAILS_ENV="production" host=smtp.gmail.com port=993 ssl=1 username=myusername password=myemailpassword project=myprojectidentifier status=mystatusname priority=mypriorityname tracker=mytrackername allow_override=project,status,tracker,priority

In this I am not able to pass the Custom fields

Please guide me in this issue

History

#1 Updated by Emil Stepniewski over 8 years ago

I think these keywords must begin with uppercase letters, ie. "Project", not "project".
I am using this feature with no problems.

#2 Updated by Emil Stepniewski over 8 years ago

Forget my comment above. I just checked the code and it is ignoring case when searching for keywords.
It just must start on begining of line and be followed immediately by a colon.

#3 Updated by karthikeyan rangaswamy over 8 years ago

I Understand what u r saying.But what about the issue description.How it is getting saved.Are u specifying issue description like

description:details of description

Even i Tried with this But Issue description is taken whatever is there on the email body

#4 Updated by Peter Muusers-Meeuwsen over 8 years ago

By default, you cannot enter data for a lot of fields... I believe that submitting values for custom fields is not supported at the moment.

However, you can use a patch (see: http://www.redmine.org/issues/2702), which enables submitting values for other fields aswell... I used this to enable the assigned_to field, for example. But it should work for custom fields too.

#5 Updated by karthikeyan rangaswamy over 8 years ago

In Most Recent Version of rails,that is in both redmine-0.8.2 and in redmine-0.8.3 that option is there.You can send the value for custom fields in email body.But the problem is whatever you send in email body it is considering the whole thing as issue description

#6 Updated by Ted Behling over 7 years ago

karthikeyan rangaswamy wrote:

In Most Recent Version of rails,that is in both redmine-0.8.2 and in redmine-0.8.3 that option is there.You can send the value for custom fields in email body.But the problem is whatever you send in email body it is considering the whole thing as issue description

Does it work if you put a space after the colon?

#7 Updated by Toshi MARUYAMA over 6 years ago

  • Category set to Email receiving

Also available in: Atom PDF