Skip to content

feat(webhook): allow closing incidents via request body instead of url#8939

Open
bujjibabukatta wants to merge 2 commits into
apache:mainfrom
bujjibabukatta:fix/#8910
Open

feat(webhook): allow closing incidents via request body instead of url#8939
bujjibabukatta wants to merge 2 commits into
apache:mainfrom
bujjibabukatta:fix/#8910

Conversation

@bujjibabukatta

Copy link
Copy Markdown
Contributor

Fixes #8910

Summary

Added new webhook close issue endpoints that accept issueKey in the request body instead of the URL path. This enables Kibana v8.x webhook connectors to close incidents using a fixed URL.

Changes

  • Added POST /connections/:connectionId/issue/close
  • Added POST /connections/by-name/:connectionName/issue/close
  • Added request body support for issueKey
  • Reused existing closeIssue() logic to avoid code duplication
  • Regenerated Swagger documentation

Notes

  • No breaking changes
  • Existing path-based endpoints remain fully supported
  • Compatible with Kibana's fixed URL webhook configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature][Webhooks] Move dinamic webhook url fields to body

1 participant