Project

General

Profile

Actions

Feature #2413

closed

mail_handler : import custom fields from Emails

Added by Olivier Abad almost 16 years ago. Updated about 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email receiving
Target version:
Start date:
2008-12-29
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

It would be nice if custom fields could be imported from Emails, using the same syntax as the other standard fields :

CustomFieldName: CustomFieldValue
Actions #1

Updated by Jean-Philippe Lang almost 16 years ago

  • Status changed from New to Closed
  • Target version set to 0.8.1
  • Resolution set to Fixed

Indeed. Feature added in r2211.

Actions #2

Updated by Ayose Cazorla almost 16 years ago

  • Status changed from Closed to Reopened

The patch does not work for issue updates. I had to copy this block in MailHandler#receive_issue_update, just before issue.save!

    # custom fields
    issue.custom_field_values = issue.available_custom_fields.inject({}) do |h, c|
      if value = get_keyword(c.name, :override => true)
        h[c.id] = value
      end
      h
    end

It is copied from receive_issue. I tested it and it works fine.

I set this issue to Reopened because in the current revision (r2220) the bug is still there for MailHandler#receive_issue_update

Actions #3

Updated by Jean-Philippe Lang almost 16 years ago

  • Status changed from Reopened to Closed

r2211 was not supposed to do anything for issue updates. See #2702.

Actions #4

Updated by Jean-Philippe Lang about 15 years ago

  • Category changed from Email notifications to Email receiving
Actions

Also available in: Atom PDF