-
Notifications
You must be signed in to change notification settings - Fork 24.7k
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
Watcher does not support passing the "params" to stored script #57625
Labels
Comments
jguay
added
>bug
:Core/Infra/Scripting
Scripting abstractions, Painless, and Mustache
:Data Management/Watcher
needs:triage
Requires assignment of a team area label
labels
Jun 3, 2020
Pinging @elastic/es-core-infra (:Core/Infra/Scripting) |
Pinging @elastic/es-core-features (:Core/Features/Watcher) |
elasticmachine
added
Team:Core/Infra
Meta label for core/infra team
Team:Data Management
Meta label for data/management team
labels
Jun 3, 2020
rjernst
removed
the
:Core/Infra/Scripting
Scripting abstractions, Painless, and Mustache
label
Jun 3, 2020
I get the same issue and am very interested by the fix! |
jakelandis
pushed a commit
that referenced
this issue
Sep 2, 2020
The main changes are: * Fix custom params are missing when using template or script in watcher's logging action or jira action. * Add yaml tests to test passing params to template or script successfully. Relates to #57625
jakelandis
pushed a commit
to jakelandis/elasticsearch
that referenced
this issue
Sep 2, 2020
…8559) The main changes are: * Fix custom params are missing when using template or script in watcher's logging action or jira action. * Add yaml tests to test passing params to template or script successfully. Relates to elastic#57625
jakelandis
added a commit
that referenced
this issue
Sep 3, 2020
) (#61885) The main changes are: * Fix custom params are missing when using template or script in watcher's logging action or jira action. * Add yaml tests to test passing params to template or script successfully. Relates to #57625 Co-authored-by: bellengao <[email protected]>
Closing since #58559 has been merged. |
61 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Elasticsearch version (
bin/elasticsearch --version
):7.6.2 / 7.7.0
Description of the problem including expected versus actual behavior:
Currently watcher does not support passing params although there is an example in the doc
Steps to reproduce:
Run this in dev tools :
Provide logs (if relevant):
Workaround solution:
Use metadata instead of parameters in the script and watcher:
The text was updated successfully, but these errors were encountered: