Feature #13111

Don't include new status for issues in email subject

Added by Francewhoa (Francois Carpentier) about 6 years ago. Updated 3 months ago.

Status:NewStart date:2008-02-04
Priority:NormalDue date:
Assignee:-% Done:


Category:Email notifications
Target version:-


Note: I searched but could find how to re-open an issue at #603. So I'm creating this new one.

Ideally, the subject would just contain:

[the project name, the tracker, the issue #], status and the subject of the issue.

No "status". This is useful because it allows email clients to thread all emails relating to a single issue together. "status" is already included in the email notification body so it's a duplicate any way.

Current subject line don't work with clients like Gmail. Reply from Gmail: "A conversation will break off into a new thread if the subject line of the conversation is changed" Source: http://support.google.com/mail/bin/answer.py?hl=en&answer=5900 The subject line change because the "status" change.

I would be happy to contribute testing :) Any volunteer for a patch?

Related issues

Related to Redmine - Feature #3660: Configurable subject of notification email for issue_add/... New 2009-07-23
Copied from Redmine - Feature #603: Don't include new status for issues in email subject Closed 2008-02-04


#1 Updated by Jan Niggemann (redmine.org team member) about 6 years ago

IIRC it's the same with Lotus notes / Domino...

#2 Updated by Sergejs Degtjars over 5 years ago

vote for this.
MS Outlook grouping also doesn't work with different subjects.

#3 Updated by Jongwook Choi over 5 years ago

Just for a reference: #1401 does not work for gmail as of now.

For temporary monkey-patching, so that the mail subject does NOT contain status names, one can modify the 48th and 69th line of "app/models/mailer.rb" as follows:

@@ -48,1 +48,1 @@
-        :subject => "[#{issue.project.name} - #{issue.tracker.name} ##{issue.id}] (#{issue.status.name}) #{issue.subject}" 
+        :subject => "[#{issue.project.name} - #{issue.tracker.name} ##{issue.id}] #{issue.subject}" 

@@ -69,1 +69,0 @@
-        s << "(#{issue.status.name}) " if journal.new_value_for('status_id')

I think it would be great if this behaviour can be configured in the application settings, just as different ways of displaying user names (USER_FORMATS in app/models/user.rb).
Hope I could work on this patch when I get time later...

#4 Updated by Peter Volkov over 4 years ago

This is very close to #3660. Probably it's better to implement #3660 and fix this in one go.

#5 Updated by Peter Volkov over 4 years ago

As for emails grouping in gmail, I found this blog post useful:

#6 Updated by Toshi MARUYAMA over 4 years ago

  • Related to Feature #3660: Configurable subject of notification email for issue_add/issue_edit added

#7 Updated by Hashem Nasarat 3 months ago

I disagree Peter Volkov; this is a longstanding usability issue; and if the fix is simply to remove a field from the email template that should not be blocked on a further enhancement.

If the maintainers agree this is reasonable I'll try to prepare a patch.

Also available in: Atom PDF