Patch #18983

Allow filtering of Redmine Reminders by Version

Added by Merul Patel almost 3 years ago. Updated almost 3 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Email notifications
Target version:3.0.0

Description

We had a requirement to setup cron jobs that would notify users of issues assigned to them that were overdue or coming due within a specific timeframe.

The rake redmine:send_reminders is great, but doesn't allow filtering by Version so here's a patch and tests to allow for this.

REMINDERS_VERSION.diff Magnifier (3.54 KB) Merul Patel, 2015-01-30 17:25

Associated revisions

Revision 13964
Added by Jean-Philippe Lang almost 3 years ago

Allow filtering of Redmine Reminders by Version (#18983).

Patch by Merul Patel.

Revision 13965
Added by Jean-Philippe Lang almost 3 years ago

Raise an error if version is not found (#18983).

Revision 13966
Added by Jean-Philippe Lang almost 3 years ago

Fixed wrong test (#18983).

Issue was not assigned to the version and assert_equal 1, ActionMailer::Base.deliveries.size was passing because of the issue creation notification.

History

#1 Updated by Jean-Philippe Lang almost 3 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version set to 3.0.0

Patch committed in r13964, with some fixes in the following changes. Thanks.

Also available in: Atom PDF