-
Story
-
Resolution: Unresolved
-
Minor
-
None
-
Product / Portfolio Work
-
False
-
-
False
-
None
-
Unset
-
None
-
-
-
This ticket can be started in Q3 if we have time, or will likely be done in Q4 otherwise. It's low priority compared to the other stories from RHCLOUD-37873.
Once we have a severity (possibly empty) associated with each event, we'll allow users to subscribe to an event type with a minimal severity. This enhancement may look like the following picture (which was not done or even approved by PM or UXD):
To make that possible, the REST API behind the User Preferences page needs to be updated to include the severity.
Acceptance criteria:
- This enhancement must be disabled by default and enabled with an Unleash feature toggle. Include the org ID in the Unleash context so that we can only enable the toggle for internal orgs at first.
- A new REST endpoint is added in notifications-backend to provide the UI with the ordered list of supported severities (see
RHCLOUD-41547). - The existing REST API behind User Preferences is updated to the minimal severity associated with each event type. Let's consider the severity optional for now until we know what the UI will actually look like.
- To be determined: should we restrict subscriptions by severity to the event types from tenants that do support severities? The event types from tenants which do NOT support severities would appear unchanged in the User Preferences. This needs to be discussed with UXD/PM.
- Follow up with tenants: confirm that filtering is preferred, or if it should only exist for certain templates
- Implementation note: consider requiring the severity field to be provided in the message (i.e. do not filter if the severity had to be manually extracted from the payload)
- Unit tests are updated to include the severity.
- blocks
-
RHCLOUD-41551 [Optional in Q3] Send instant notifications based on subscriptions with severities
-
- New
-
-
RHCLOUD-41552 [Optional in Q3] Send daily digest notifications based on subscriptions with severities
-
- New
-
- is Informed by
-
RHCLOUD-41535 Add the severity field to the Action schema (insights-schemas-java)
-
- Closed
-