Project

General

Profile

How to import custom fields with the Emails create issues

Added by Laurent HADJADJ over 7 years ago

Hi,

I would like to use the function to create issues by email but I have a problem first with the Reading emails from standard input.

I can not get the subject for example and my customs fields.

I followed the instructions on page: FrRedmineReceivingEmails :

The command is :
rake redmine:email:read RAILS_ENV="production" unknown_user=accept no_permission_check=1 project=corse allow_override=project,tracker,status,priority,category,assigned_to,start_date,due_date,estimated_hours,done_ratio --trace < raw_email

The file raw_email is :

blavlallll dddd

Project: corse
Tracker: PLANIFICATION
Subject: Test
Status: Traité
Priority: Urgent
Mission: 12345
Filière: toto

  1. if I do not put the project argument in the command line, I did not have request creation while he is present in the email ;
  2. if I do not put the first line "blavlallll dddd", i get Priority = Normal ;
  3. the status is not get from the mail ;
  4. the custom fields "Mission" and "Filière" are not get ;

I tried in capital letter, in small letter or by deleting spaces. I do not understand. On the other hand, I find the information in the field description.

Have you an idea?

Thank you

OS : Debian 8.5.0
Environment:
Redmine version 3.3.0.stable
Ruby version 2.1.5-p273 (2014-11-13) [x86_64-linux-gnu]
Rails version 4.2.6
Environment production
Database adapter Mysql2


Replies (1)

RE: How to import custom fields with the Emails create issues - Added by Yiannis Tsiouris over 7 years ago

Can someone answer this please? Same problem here :-)
Also, some insight on the Custom Field List syntax (w/ and w/o multiple values) would be very much appreciated!

Edit: Answering my own question: It's currently not possible to set multiple values for a list custom field from an email. There is a pending issue (for 2 years now!) that implements that: #16549.

    (1-1/1)