Project

General

Profile

Actions

Feature #1112

closed

Send notifications when issues come due

Added by Carl Nygard over 16 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Normal
Category:
Email notifications
Target version:
Start date:
2008-04-25
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

This script is a standalone script meant to be run periodically (i.e. once daily) via crontab. It can be given optional parameters for filtering by projects and/or by tracker, and can look ahead for due dates a configurable number of days (default=3).

Usage

Usage: [--help] [--debug] [--project <projectName>] [--tracker <trackerName>] [--days <daysInFuture>]
 --help  show this help
 --debug show extra debug information
 --project   name of project to process
 --tracker   name of tracker for filtering issues
 --days      how many days in the future to whine about

Known issues

For some reason, the script does not grab the config.action_mailer.delivery_method from the ../config/environment.rb properly (all other parameters seem to be ok), so the script checks the value and resets it to :smtp programatically. If someone has a fix, please help.

References

Originally mentioned on this forum thread.


Files

whinemail.rb (3.19 KB) whinemail.rb Carl Nygard, 2008-04-25 22:28
redmine-whinemail.patch (870 Bytes) redmine-whinemail.patch Carl Nygard, 2008-04-28 20:06
issue_due.text.html.rhtml (175 Bytes) issue_due.text.html.rhtml email template for html format Carl Nygard, 2008-04-30 22:49
issue_due.text.plain.rhtml (210 Bytes) issue_due.text.plain.rhtml email template for text format Carl Nygard, 2008-04-30 22:49

Related issues

Related to Redmine - Feature #1694: eMail reminder on ticket overdueNew2008-07-28

Actions
Related to Redmine - Feature #551: ReminderClosed

Actions
Actions #1

Updated by Carl Nygard over 16 years ago

Forgot to add the patch that supplies the issue_due function required by the whinemail.rb script

Actions #2

Updated by Carl Nygard over 16 years ago

And the templates that generate the email message

Actions #3

Updated by Jean-Philippe Lang over 16 years ago

It can be usefull indeed.
I've added a similar functionality in r1459, with a few differences:
  • only assignees are notified
  • each user receive a single mail with the list of the issues that are assigned to him and due in the next days
  • the script is written as a rake task

Days, project and tracker options are available.
More info by running:

rake -D redmine:send_reminders

Carl, let me know what think.

Actions #4

Updated by Jean-Philippe Lang almost 16 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed
Actions

Also available in: Atom PDF