Project

General

Profile

Actions

Feature #30112

open

Option to stop sending reminders on non-working days

Added by Go MAEDA about 5 years ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Email notifications
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

Currently, Redmine sends reminders every day regardless of the non-working days setting (in "Administration" > "Settings" > "Issue tracking" page). But I don't want to receive reminders on weekends. Maybe many people think so :)

I think it would be a nice improvement to have an option in the My account page to set whether the user wants to receive email reminders on non-working days (e.g. a checkbox with a label "I don't want to receive email reminders on non-working days" in the "Email notifications" box).

I implemented a similar feature in my plugin (redmine_extended_reminder) in the past.


Files


Related issues

Related to Redmine - Patch #20121: Respect working days configuration when sending reminder emailsNew

Actions
Actions #1

Updated by Anonymous about 5 years ago

+1

P.S. I'm thinking... there is lots of things (from minor fixes to huge features) that numerous developers out there had already implemented as plugins, which probably should have been in Redmine in the first place. Maybe one of the major plans of the community in the future could be to conspire with plugin developers in order to have them (or us, if they allow it) to port their code into the actual patches. This could be time saving for everyone, as we d be skipping the need for doing it from scratch I guess. :D

Actions #2

Updated by Yuichi HARADA about 5 years ago

On the My account Email notifications page, set whether users will not receive email reminders on non-working days.

I made a patch, and attach it.

Actions #3

Updated by Go MAEDA about 5 years ago

  • Target version set to Candidate for next major release
Actions #4

Updated by Mizuki ISHIKAWA about 2 months ago

  • File 30112-stop-reminder-on-non-working-days-r22605.patch added

+1
I would like this feature.
Fixed #note-2 patch to avoid conflicts.

Actions #5

Updated by Mizuki ISHIKAWA about 2 months ago

I mistakenly attached an empty file in #note-4. The correct patch is attached.

Actions #6

Updated by Go MAEDA about 2 months ago

  • File deleted (30112-stop-reminder-on-non-working-days-r22605.patch)
Actions #7

Updated by Marius BĂLTEANU about 2 months ago

I think it will be better to have a snooze mechanism instead of just dropping the notifications. Also, the non-working days from admin is quite limited, we should have a way for each user to set his working days and hours.

Actions #8

Updated by Mizuki ISHIKAWA about 2 months ago

Marius BALTEANU wrote in #note-7:

I think it will be better to have a snooze mechanism instead of just dropping the notifications.

Does the snooze mechanism mean, for instance, if Saturday and Sunday are days off, that you will receive three emails on Monday covering Saturday, Sunday, and Monday? In the case of reminder emails, since they display tickets whose due dates are either approaching or have passed within N days, I think stopping the reminders for Saturday and Sunday wouldn’t matter as the Monday reminder would encompass the information from the reminders of Saturday and Sunday.

Also, the non-working days from admin is quite limited, we should have a way for each user to set his working days and hours.

I agree that it would be good to be able to set individual non-working days for each user. Furthermore, it would be great if it was possible to set other non-working days of the week, rather than simply specifying the day.

Actions #9

Updated by Marius BĂLTEANU about 2 months ago

Sorry, I haven't fully understand this issue when I read it firstly. So this new setting affects only the reminders that are sent using the rake task rake redmine:send_reminders and it doesn't apply to the usual mail notifications that are sent after specific events in the projects?

Actions #10

Updated by Mizuki ISHIKAWA about 1 month ago

Marius BALTEANU wrote in #note-9:

Sorry, I haven't fully understand this issue when I read it firstly. So this new setting affects only the reminders that are sent using the rake task rake redmine:send_reminders and it doesn't apply to the usual mail notifications that are sent after specific events in the projects?

Yes, that's correct. The patch modifies the Mailer#reminders method, and Mailer#reminders is only called by the rake task rake redmine:send_reminders.

Actions #11

Updated by Marius BĂLTEANU about 1 month ago

Thanks, it's clear now.

I'm not sure about this option because as a user, I don't have any visibility in Redmine UI about reminders and administrators already have some basic flexibility to send these reminders only during working days when they are setting up the cron. We can improve this by adding a flag to redmine:send_reminders to send notification only during working days and then the administrator can have the cron running daily and Redmine choose when to send or not the notification based on the Setting.non_working_week_days.

Coming back to user notification preferences, I'm more in favour of adding a "I don't want to be notified outside work days/hours" option which should apply to all notifications, not only reminders. Later on, we can add the "snooze" mechanism on top of this (reminders should be excluded from this).

If we take more feedback on this and agree which solution is better, I think we can include this with all the notification improvements that are under review right now.

Actions #12

Updated by Marius BĂLTEANU about 1 month ago

Marius BALTEANU wrote in #note-11:

Thanks, it's clear now.

I'm not sure about this option because as a user, I don't have any visibility in Redmine UI about reminders and administrators already have some basic flexibility to send these reminders only during working days when they are setting up the cron. We can improve this by adding a flag to redmine:send_reminders to send notification only during working days and then the administrator can have the cron running daily and Redmine choose when to send or not the notification based on the Setting.non_working_week_days.

I've found #20121 for this flag.

Actions #13

Updated by Marius BĂLTEANU about 1 month ago

  • Related to Patch #20121: Respect working days configuration when sending reminder emails added
Actions

Also available in: Atom PDF