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

Webhook Action UI - allow context variables to be added to body #58897

Closed
peterschretlen opened this issue Feb 28, 2020 · 3 comments · Fixed by #60174
Closed

Webhook Action UI - allow context variables to be added to body #58897

peterschretlen opened this issue Feb 28, 2020 · 3 comments · Fixed by #60174
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Actions Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v7.7.0

Comments

@peterschretlen
Copy link
Contributor

peterschretlen commented Feb 28, 2020

Related to #58895

When attaching a Webhook action to an alert, the body parameter is a string. However it's not evident that context variables + mustache can be used on these parameters.

To make it clearer and assist the user, we should add the context variable picker to all fields, like we do for the message field in a slack action.

@peterschretlen peterschretlen added bug Fixes for quality problems that affect the customer experience Feature:Alerting Feature:Actions Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) labels Feb 28, 2020
@elasticmachine
Copy link
Contributor

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

@peterschretlen
Copy link
Contributor Author

For 7.7 it might be worth assuming the body will be json and using the same UI as the index action UI for specifying a document. We can extend to add support for other content types later?

@alexfrancoeur
Copy link

🎉

@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 Feature:Actions Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v7.7.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants