プロジェクト

全般

プロフィール

Vote #64351

完了

mail_handler : import custom fields from Emails

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Email receiving_29
対象バージョン:
開始日:
2008/12/29
期日:
進捗率:

0%

予定工数:
category_id:
29
version_id:
7
issue_org_id:
2413
author_id:
3238
assigned_to_id:
0
comments:
4
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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

CustomFieldName: CustomFieldValue

journals

Indeed. Feature added in r2211.
--------------------------------------------------------------------------------

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

<pre>
# 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
</pre>

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@
--------------------------------------------------------------------------------
r2211 was not supposed to do anything for issue updates. See #2702.
--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリEmail receiving_29 にセット
  • 対象バージョン0.8.1_7 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0