Defect #35017
X-Redmine-Issue-Assignee email header field is empty when the assignee of an issue is a group
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Email notifications | |||
Target version: | 5.0.0 | |||
Resolution: | Fixed | Affected version: |
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)
Related issues
Associated revisions
X-Redmine-Issue-Assignee email header field is empty when the assignee of an issue is a group (#35017).
Patch by Akihiro MATOBA.
History
#1
Updated by Akihiro MATOBA about 1 year ago
- File 35017_v1.patch
added
#2
Updated by Mizuki ISHIKAWA about 1 year ago
I reviewed the patch. LGTM.
#3
Updated by Go MAEDA about 1 year ago
- Description updated (diff)
#4
Updated by Go MAEDA about 1 year ago
- 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)"
#5
Updated by Go MAEDA about 1 year ago
- 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
#6
Updated by Go MAEDA about 1 year ago
- Target version changed from Candidate for next major release to 5.0.0
Setting the target version to 5.0.0.
#7
Updated by Go MAEDA about 1 year ago
- File 35017_v2.patch
added
Updated the patch. I unified the same code written twice.
#8
Updated by Go MAEDA about 1 year ago
- Related to Feature #19939: New X-Redmine-Issue-Priority header, and modification of X-Redmine-Issue-Assignee added
#9
Updated by Go MAEDA about 1 year ago
- 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.
#10
Updated by Go MAEDA about 1 year ago
- 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