プロジェクト

全般

プロフィール

Vote #81361

完了

X-Redmine-Issue-Assignee email header field is empty when the assignee of an issue is a group

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

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

0%

予定工数:
category_id:
9
version_id:
155
issue_org_id:
35017
author_id:
86605
assigned_to_id:
332
comments:
10
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

When I assign an issue to a group, the X-Redmine-Issue-Assignee: header in the notification mail is empty.

As is:

X-Redmine-Issue-Assignee:

Should be:

X-Redmine-Issue-Assignee: Group (A Team)

journals

--------------------------------------------------------------------------------
I reviewed the patch. LGTM.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
I think the suggested format (@X-Redmine-Issue-Assignee: Group (A Team)@) is well considered.

* If the group name is simply set to X-Redmine-Issue-Assignee, it may conflict with a user’s login, but the proposed format avoids that problem
* The keyword "Group" never conflicts with a user's login because the first letter is uppercase
* If in the future we want to extend X-Redmine-Issue-Assignee to include the display name of the user, we can use the same format like "admin (Redmine Admin)"
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Setting the target version to 5.0.0.
--------------------------------------------------------------------------------
Updated the patch. I unified the same code written twice.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Committed the patch.

Now the value of X-Redmine-Issue-Assignee email header field is @"Group (#{issue.assigned_to.name})"@ (example: "Group (A Team)") if the assignee of an issue is a group.

Thank you for your contribution.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,New,19939,New X-Redmine-Issue-Priority header, and modification of X-Redmine-Issue-Assignee

Admin Redmine さんが3年以上前に更新

  • カテゴリEmail notifications_9 にセット
  • 対象バージョン5.0.0_155 にセット

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

いいね!0
いいね!0