Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding an alert variable in PagerDuty action and selecting a value results in an extra space character #68208

Closed
romain-chanu opened this issue Jun 4, 2020 · 1 comment · Fixed by #70028
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@romain-chanu
Copy link

romain-chanu commented Jun 4, 2020

Kibana version: Affects both 7.7.0 and 7.7.1

Elasticsearch version: Affects both 7.7.0 and 7.7.1

Server OS version: MacOS Mojave 10.14.6

Browser version: Chrome Version 83.0.4103.61 (Official Build) (64-bit)

Original install method (e.g. download page, yum, from source, etc.): MAC (tarball packages)

Describe the bug: When adding an alert variable in PagerDuty action and selecting a value from the list, this results in an extra character leading the alert variable value.

Steps to reproduce:

  1. Create an alert and add a PagerDuty action.
  2. Click Add alert variable for any of the related configuration properties.
  3. Select a value from the list
  4. Observe the extra space character leading the alert variable value.

Screenshot 2020-06-04 at 11 24 03 AM

Additional notes:

In Kibana 7.7.0, selecting {{context.date}} in the timestamp property will result in a parsing error (because of the extra space character). Error message in Kibana: Error: error validating action params: error parsing timestamp. Same error if the timestamp property is empty.

In Kibana 7.7.1, such parsing error should not happen (fixed in #63954 ?). However, adding an alert variable and selecting a value from the list still results in the extra space character.

Expected behavior: No extra space character should be added when selecting an alert variable value.

Related Github issues:

@romain-chanu romain-chanu added bug Fixes for quality problems that affect the customer experience Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) labels Jun 4, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-alerting-services (Team:Alerting Services)

@YulNaumenko YulNaumenko self-assigned this Jun 25, 2020
@kobelb kobelb added the needs-team Issues missing a team label label Jan 31, 2022
@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
None yet
4 participants