Defect #35017
closed
X-Redmine-Issue-Assignee email header field is empty when the assignee of an issue is a group
Added by Akihiro MATOBA over 3 years ago.
Updated over 3 years ago.
Category:
Email notifications
Description
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)
Files
I reviewed the patch. LGTM.
- Description updated (diff)
- Target version set to Candidate for next major release
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)"
- Tracker changed from Patch to Defect
- Subject changed from "X-Redmine-Issue-Assignee:" header should contain a group name, not empty to X-Redmine-Issue-Assignee header in email notifications is empty when the assignee is a group
- Target version changed from Candidate for next major release to 5.0.0
Setting the target version to 5.0.0.
Updated the patch. I unified the same code written twice.
- Related to Feature #19939: New X-Redmine-Issue-Priority header, and modification of X-Redmine-Issue-Assignee added
- Status changed from New to Closed
- Assignee set to Go MAEDA
- Resolution set to Fixed
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.
- Subject changed from X-Redmine-Issue-Assignee header in email notifications is empty when the assignee is a group to X-Redmine-Issue-Assignee email header field is empty when the assignee of an issue is a group
Also available in: Atom
PDF