Set displayed flag in system notification based on startDate, expiryDate and active flag

Description

System notifications should be marked as displayed if the active flag is set as true and expiry date is not in the past. This should be automatically calculated and returned by search endpoint.

Acceptance Criteria:

  • the isDisplayed flag is set to true if the system notification is started, non-expired and active

    • notification without expired date should be treated as non-expired

    • notification without start date should be treated as started

  • otherwise, the isDisplayed flag should be false

Assignee

Klaudia Pałkowska

Reporter

Klaudia Pałkowska

Labels

Story Points

3

Time tracking

36h

Components

Sprint

None

Fix versions

Priority

Major
Configure