Details
-
Type:
Problem report
-
Status: Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 4.2.0
-
Fix Version/s: 4.0.14rc1, 4.2.8rc1, 4.4.1rc1, 5.0.0alpha1, 5.0 (plan)
-
Component/s: Server (S)
-
Labels:
-
Team:Team A
-
Sprint:Sprint 56 (Sep 2019), Sprint 57 (Oct 2019)
-
Story Points:0.25
Description
Steps to reproduce:
- Create a text item that can become "GOOD" or "BAD"
- Create a trigger named "Test trigger {ITEM.VALUE}" that triggers on str(BAD)=1
- Create an action that alerts for this trigger
-
- Operations subject: "Problem: {EVENT.NAME}"
- Recovery subject: "Recovery: {EVENT.NAME}"
Result:
The problem event has the name: "Test trigger BAD"
The problem alert has the subject: "Problem: Test trigger BAD"
The recovery event has the name: "Test trigger GOOD"
The recovery alert has the subject: "Recovery: Test trigger BAD"
Expected:
That the recovery alert uses the recovery event name.
Additional:
As far as i know you are only able to see the recovery event name in the database?
Documentation for {EVENT.NAME} has the discritption "Name of the problem/recovery event that triggered an action." which indeed leads me to believe that it should contain the recovery event name in a recovery alert.
Changing the {EVENT.NAME} in a recovery alert might not be a feasible solution. Maybe the best solution is to update the docs and make it clear that it will not contain the recovery event name and create a new macro called {EVENT.RECOVERY.NAME}?