Description
When creating an alert via the API, the Pivot Alert Condition values may appear empty in the user interface if the value specified in the API request is 0
. This issue occurs because the UI does not properly handle a 0
value for the condition, even though the condition is active and functional in the backend.
On pivot UI:
In API
Known Cause
This issue is caused by a UI rendering bug where a 0
value in the API request is not correctly interpreted or displayed in the Pivot Alert Condition field. The condition is still applied and functional, but the UI fails to display the value.
Workaround
To work around this issue, follow these steps:
Manually recreate the Alert: Recreate the alert manually through the UI to ensure the condition is displayed correctly.
Verify the Condition via API: Use the GET {PIVOT_URL}/alerts/<alert_id> API to retrieve the alert details and confirm that the Pivot Alert Condition is correctly set in the backend, even if it appears empty in the UI.
Use a Non-Zero Value (if applicable): If your use case allows, use a non-zero value (e.g., 1
) in the API request to ensure the condition is displayed correctly in the UI, and you can update it in the UI to 0 if needed.
Permanent Fix in Progress
A permanent fix for this issue is currently being developed. Please check with Imply Support for the ETA of the fix.
Comments
0 comments
Please sign in to leave a comment.