Project

General

Profile

Setting custom fields through Email

Added by Carmen De Vito almost 14 years ago

Issue - Setting custom fields through email body

Hello everyone,

I have been looking all over for this answer, but it seems to still elude me. I have new issues being fed in through email. I know that the project and tracker can currently be set in the body of the email by having Project: VALUE, but I was wondering if it was possible to use that same functionality for other fields, like due_date, or better yet custom fields added to an issue.

Environment Info

OS: CentOS 5.4 x86_64
Kernel Version: 2.6.18.164.15.1.el5
Ruby Version: ruby 1.8.6 (2009-08-04 patchlevel 383) [x86_64-linux]
Rails Version: 2.3.5
Database Version: MySQL 5.0.77-4
Ruby Server: Apache 2.2.3 w/ Phusion Passenger 2.2.11

Gems Installed:
  • actionmailer (2.3.5)
  • actionpack (2.3.5)
  • activerecord (2.3.5)
  • activeresource (2.3.5)
  • activesupport (2.3.5)
  • fastthread (1.0.7)
  • mysql (2.8.1)
  • passenger (2.2.11)
  • rack (1.0.1)
  • rails (2.3.5)
  • rake (0.8.7)
  • RbST (0.1.2)

script/about output

About your application's environment
Ruby version 1.8.6 (x86_64-linux)
RubyGems version 1.3.6
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Application root /var/www/sites/support.fcp.biz
Environment production
Database adapter mysql
Database schema version 20100221100219

About your Redmine plugins
Redmine Newissuealerts plugin 0.0.2
Redmine Graphs plugin 0.1.0
Global filter plugin 0.0.1
Redmine System Notification plugin 0.2.0
reStructuredText formatter 0.0.1


Replies (3)

RE: Setting custom fields through Email - Added by Carmen De Vito almost 14 years ago

Ok,

Apparently my issue doesn't seem to affect custom fields, but I cannot get the emails to override the due date for an issue. I am trying to change it like the following

Due Date: 2010-05-25

But I have also tried all of these variations as well:

DueDate:
Due Date:
Due date:
Issue Due Date:

Any suggestions?

RE: Setting custom fields through Email - Added by Pedro Gutierrez almost 13 years ago

Hi Carmen,
I have the same problem you reported and just stumbled upon your post.
I couldn't help but notice that you didn't get any answer... :-(

Anyway, did you manage to update mandatory custom fields through email? Or did you give it up?

RE: Setting custom fields through Email - Added by Mischa The Evil over 12 years ago

Carmen De Vito wrote:

Ok,

Apparently my issue doesn't seem to affect custom fields, but I cannot get the emails to override the due date for an issue. I am trying to change it like the following

Due Date: 2010-05-25

But I have also tried all of these variations as well:

DueDate:
Due Date:
Due date:
Issue Due Date:

Any suggestions?

Pedro Gutierrez wrote:

Hi Carmen,
I have the same problem you reported and just stumbled upon your post.
I couldn't help but notice that you didn't get any answer... :-(

As explained in #5595: use "Start date: YYYY-MM-DD" and/or "Due date: YYYY-MM-DD".

Anyway, did you manage to update mandatory custom fields through email? Or did you give it up?

With current Redmine versions this should be possible. Just include them as keyword:value pairs in your emails like:

Custom field name: value (for booleans: Yes/No)

    (1-3/3)