Feature #13307

Start date and due date in email

Added by Benjamin Jeanjean almost 6 years ago. Updated 2 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Email notifications
Target version:4.1.0
Resolution:

Description

Today, the start date and the due date doesn't appears in the email sent when we create a new issue.
It would be really useful to make them appears for being aware of the priority of the issue.

issue_mailer_helper.diff Magnifier (666 Bytes) Marius BALTEANU, 2018-10-28 20:38


Related issues

Related to Redmine - Feature #10378: suppress empty fields on email notifications New
Duplicated by Redmine - Feature #29254: Start date and due date in issue email notification Closed

History

#1 Updated by Pavel Lautsevich almost 6 years ago

+1

#2 Updated by Matt Mencel over 3 years ago

Anyone know if this is possible via a plugin? I have someone asking if these fields can be added to the notification email.

#3 Updated by Tiffany C over 3 years ago

Hi, I'm using Redmine2.4.1.
It works fine when I added "start_date" and "due_date" to issues_helper.rb as the following code.
Could you add to the latest Redmine, too? It would be really useful!

Index: app/helpers/issues_helper.rb  
===================================================================
--- app/helpers/issues_helper.rb>  
+++ app/helpers/issues_helper.rb>
@@ -233,7 +233,7 @@
_
def email_issue_attributes(issue, user) 
  items = [] 
- %w(author status priority assigned_to category fixed_version).each do |attribute|  
+ %w(author status priority assigned_to category fixed_version start_date due_date).each do |attribute|
 unless issue.disabled_core_fields.include?(attribute+"_id") 
items << "#{l("field_#{attribute}")}: #{issue.send attribute}"  
 end 

#4 Updated by Bryan Settles over 2 years ago

In redmine/app/views/mailer/reminder.html.erb, put <%= issue.due_date issue.start_date > before the <= link_to_issue()%>

#5 Updated by Florian ROBERT over 1 year ago

+1

#6 Updated by ryan lee 8 months ago

Hi, I am using Redmine 3.4.2.
I have edited the file 'app/helpers/issues_helper.rb' as Tiffany C's post but it not works.
I want the notification email include the info start date and due date.
If you have the solution please let me know. Thank you very much

#7 Updated by Yuuki NARA 8 months ago

+1

#8 Updated by Senya Senya 6 months ago

I posted a patch #29254

#9 Updated by Marius BALTEANU 3 months ago

  • Duplicated by Feature #29254: Start date and due date in issue email notification added

#10 Updated by Marius BALTEANU 3 months ago

Attached the patch uploaded by Senya Senya in #29254.

#11 Updated by Go MAEDA 2 months ago

  • Target version set to 4.1.0

+1
Start date and due date are important information for project management.

I am setting the target version to 4.1.0.

#12 Updated by Go MAEDA about 1 month ago

  • Related to Feature #10378: suppress empty fields on email notifications added

Also available in: Atom PDF