# Webhook action per document (found by watcher) instead per watcher

**URL:** <https://discuss.elastic.co/t/webhook-action-per-document-found-by-watcher-instead-per-watcher/35079>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-alerting\
**Created:** [November 19, 2015, 8:07pm UTC](https://discuss.elastic.co/t/webhook-action-per-document-found-by-watcher-instead-per-watcher/35079 "2015-11-19T20:07:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![darshandpatel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/darshandpatel/32/5913_2.png) [@darshandpatel](https://discuss.elastic.co/u/darshandpatel)\
**Post date:** [November 19, 2015, 8:07pm UTC](https://discuss.elastic.co/t/webhook-action-per-document-found-by-watcher-instead-per-watcher/35079/1 "2015-11-19T20:07:12Z")

</div>

Hey guys,

I want to generate the individual JIRA tickets (webhook action) for the each document found by watcher condition.

Currently I know how to generate a JIRA ticket once the watcher condition is matched but It generates the single JIRA ticket for all the matched document(In my case : document containing the JAVA exceptions). Where as I am searching for a way to generate separate JIRA tickets for each documents found by watcher condition.

Thank you.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [November 30, 2015, 5:40am UTC](https://discuss.elastic.co/t/webhook-action-per-document-found-by-watcher-instead-per-watcher/35079/2 "2015-11-30T05:40:00Z")

</div>

Hey there,

this is currently not possible, see [this thread](https://discuss.elastic.co/t/can-you-trigger-watch-action-for-each-unique-result-returned/25539). Maybe logstash with a http input would help here, which in turn then creates a JIRA ticket, and you could use watcher to send data to logstash?

--Alex

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:48pm UTC](https://discuss.elastic.co/t/webhook-action-per-document-found-by-watcher-instead-per-watcher/35079/3 "2017-07-06T13:48:05Z")

</div>


