Skip to content
This repository was archived by the owner on Mar 22, 2025. It is now read-only.
This repository was archived by the owner on Mar 22, 2025. It is now read-only.

Consider other options for handling alerts where the work item already exists #3

@jamsden

Description

@jamsden

Currently the RTC-alert node detects if a work item with the configured title already exists, and sets the node output message to indicate this condition.

There may be cases where it is important for subscribers to the work item to be made aware of conditions that would activate the alert. For example, it could have been some time between when the alert was initially created. There may be situations where reoccurrence of the same alert should result in a new notification.

This needs to be handled with caution to avoid repeated notifications of the same alert which would result in repeated emails to subscribers. Any update to any property of an existing alert would result in email notification to all subscribers.

There are a few possible things to consider:

  1. Include an option to re-open a closed work item if the alert reoccurs. The notification would then only occur when an existing alert goes from closed to re-opened.
  2. Introduce a reoccurred state to the alert work item lifecycle
  3. Add a new occurrence property that can be updated with the date-time the alert reoccurred
  4. Update the work item modified property

Perhaps the first option is the best.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions