Vote #63100
完了Send notifications when issues come due
0%
説明
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).
h2. Usage
Usage: [--help] [--debug] [--project] [--tracker ] [--days ] --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
h2. 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.
h2. References
Originally mentioned on "this":http://www.redmine.org/boards/1/topics/show/614 forum thread.
journals
Forgot to add the patch that supplies the issue_due function required by the whinemail.rb script
--------------------------------------------------------------------------------
And the templates that generate the email message
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
related_issues
relates,New,1694,eMail reminder on ticket overdue
relates,Closed,551,Reminder