Feature #1694

eMail reminder on ticket overdue

Added by Lars F. about 9 years ago. Updated almost 2 years ago.

Status:NewStart date:2008-07-28
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Email notifications
Target version:-
Resolution:

Description

it would be nice to have an reminder functionality. it could might be configurable per-user so that you can choose how many days before a ticket should be solved a reminder email is send to your account.

email_overdue.patch Magnifier - send "overdue" email when days=0 (1.97 KB) Scott Cunningham, 2015-03-20 22:00


Related issues

Related to Redmine - Feature #1112: Send notifications when issues come due Closed 2008-04-25

History

#1 Updated by Carl Nygard about 9 years ago

Please see #1112. It already does what you want.

#2 Updated by Toshi MARUYAMA over 6 years ago

  • Category set to Email notifications

#3 Updated by Hans Kaiser over 2 years ago

Carl Nygard wrote:

Please see #1112. It already does what you want.

Carl, I am using the script, but it would be fine if it would be available from the redmine UI directly.
For example, on redmine installation to create a cron, which triggers a cron-dependent rake task in redmine, which itself manages some recurring jobs on the redmine UI.
A very basic "job manager in redmine directly"

#4 Updated by Scott Cunningham over 2 years ago

Redmine 2.5.2 (probably older versions, too) supported a rake task to send email reminder to users:

rake redmine:send_reminders days=7 RAILS_ENV="production"

You can also select users. See RedmineReminderEmails for more details. Functionality is basic (only tells users xx tasks are due in xx days) and lists the tasks with subjects.

For me, I wanted to send emails to users telling them what tasks are overdue (days = 0). With the patch below (tested in 2.5.2, 2.6.1, 3.0.1), if you call the task with days=0, the subject will change to use "overdue". I modified the mailer code and erb templates and added local labels mail_subject_reminder_overdue and mail_body_reminder_overdue.

Now, when I call rake redmine:send_reminders days=0 RAILS_ENV="production", users get an email, "xx tasks are overdue" and the body is the list of overdue tasks.

Next step would be to have the listed email show how many days late, or maybe allow an email that says overdue and due soon...

#5 Updated by Scott Cunningham almost 2 years ago

MISSING FROM PATCH FILE: You must also define overdue language entries in your locale:
  • mail_subject_reminder_overdue: "%{count} issue(s) are overdue"
  • mail_body_reminder_overdue: "%{count} issue(s) that are assigned to you are overdue:"

PS: Patch file + locale edit still good for Redmine 3.1.1

Also available in: Atom PDF