[Alerting] move always-available action variables to alerting/common #60085
Labels
estimate:small
Small Estimated Level of Effort
Feature:Alerting
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
technical debt
Improvement of the software architecture and operational architecture
In PR #59756 action variables were added as a new property of alert types. There are a handful of "always available" action variables such as
alertId
andalertName
. The definitions of these are duplicated in thealerting
andtriggers_actions_ui
plugins:kibana/x-pack/plugins/alerting/server/task_runner/transform_action_params.ts
Lines 38 to 47 in ce1836b
kibana/x-pack/plugins/triggers_actions_ui/public/application/lib/action_variables.ts
Lines 27 to 42 in ce1836b
To prevent these from diverging in the future, we should move them to the alerting/common folder, and then reference them in the files above from there.
The text was updated successfully, but these errors were encountered: