# Changing the status of a case when the status of an alert is change to "recovered"

**URL:** https://discuss.elastic.co/t/changing-the-status-of-a-case-when-the-status-of-an-alert-is-change-to-recovered/366083
**Category:** Kibana
**Tags:** elastic-stack-alerting
**Created:** [September 5, 2024, 7:50am UTC](https://discuss.elastic.co/t/changing-the-status-of-a-case-when-the-status-of-an-alert-is-change-to-recovered/366083 "2024-09-05T07:50:16Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Danyal\_Danish](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danyal_danish/32/131444_2.png) [@Danyal\_Danish](https://discuss.elastic.co/u/Danyal_Danish)
#### Post date: [September 5, 2024, 7:50am UTC](https://discuss.elastic.co/t/changing-the-status-of-a-case-when-the-status-of-an-alert-is-change-to-recovered/366083/1 "2024-09-05T07:50:16Z")

</div>

I want to update the status of my case from open to closed if the status of the corresponding alert that prompted the case opening is changed to "recovered".

I'm using a webhook connector. Is there a way I can define in the body of the connector to change a case status?

---

<div class="post-metadata">

### Author: ![Jedr\_Blaszyk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jedr_blaszyk/32/127637_2.png) [@Jedr\_Blaszyk](https://discuss.elastic.co/u/Jedr_Blaszyk)
#### Post date: [September 5, 2024, 7:52am UTC](https://discuss.elastic.co/t/changing-the-status-of-a-case-when-the-status-of-an-alert-is-change-to-recovered/366083/2 "2024-09-05T07:52:03Z")

</div>

Removed #connectors
