Project

General

Profile

Actions

Defect #3093

closed

Redmine Issue Creation By Email

Added by karthikeyan rangaswamy over 15 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email receiving
Target version:
-
Start date:
2009-04-01
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
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

Actions #1

Updated by Emil Stepniewski over 15 years ago

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

Actions #2

Updated by Emil Stepniewski over 15 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.

Actions #3

Updated by karthikeyan rangaswamy over 15 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

Actions #4

Updated by Peter Muusers-Meeuwsen over 15 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.

Actions #5

Updated by karthikeyan rangaswamy over 15 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

Actions #6

Updated by Ted Behling almost 15 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?

Actions #7

Updated by Toshi MARUYAMA over 13 years ago

  • Category set to Email receiving
Actions #8

Updated by Go MAEDA almost 6 years ago

  • Status changed from New to Closed
  • Resolution set to Cant reproduce
Actions

Also available in: Atom PDF