Project

General

Profile

Actions

Feature #32628

closed

Notify users about high issues (only)

Added by Jan from Planio www.plan.io over 4 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Email notifications
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

This feature introduces a setting in each user's My account section which allows them to select/deselect a new option labeled Also notify me about issues with a priority of high or higher.

If this option is set, users will be notified about issues that have a high priority even if they're not assigned to or watching it.

Currently, I see 2 use cases for this:

  1. Project Management: Higher level project managers who oversee multiple projects and aren't directly involved in the day to day business but want to be in the loop about things that have a high priority.
  2. Help desk: In a help desk or service desk scenario, users may wish to disable all notifications and only work on the ticket queue in Redmine during their work hours. However, if tickets have a high priority, they may want to be notified by email even outside their work hours, when they're not logged in to Redmine.

Considerations:

For this feature, we need a definition of what a "high" priority is, because priorities can be created by Redmine admins. The proposed implementation works akin to the CSS classes of issues (for colouring in some themes) in the issue list. For this, Redmine already computes "position names", e.g. high, high2, highest, etc.

In order to use this mechanism, patch 0002 extracts finding the "middle" priority into its own method, and patch 0003 uses the method to define a is_high? high? helper. A is_low? low? helper is introduced as well for completeness sake and potential future uses.

Finally, patch 0004 introduces the new user preference and the mechanism that sends the notifications.

Tests for all relevant parts are included.


Files


Related issues

Related to Redmine - Feature #34988: Add new notification settings for priority based notification to the user guideNew

Actions
Actions

Also available in: Atom PDF