[ResponseOps][Alerts] Problem filtering alerts in actions portion of the rules form #192557
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Alerting/RulesManagement
Issues related to the Rules Management UX
Feature:Alerting
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
Describe the bug:
When defining actions for a rule the filtering area
If alert matches a query
is not working as expected. We should be able to define either a filter or a KQL query but the form always expects a KQL query. This makes the filters useless/redundant.Steps to reproduce:
Rules
and try creating a new rule of any typeIf alert matches a query
A custom query is required.
is displayed before the user interacts with this form section.Add a filter
tooltip (AlertsSearchBar
component)Save
A custom query is required.
is still displayed, preventing the form from being submitted.The form can only be submitted if we add a query to the
Filter alerts using KQL syntax
text box.Expected behavior:
A custom query is required.
shouldn't be displayed before the user interacts with the form.Screenshots:
Form displaying the error by default
Form with a filter defined but still displaying an error.
Form without errors when a filter and a query are defined.
The text was updated successfully, but these errors were encountered: