Skip to content

[Cases] Update delete case api example#244878

Merged
janmonschke merged 4 commits intoelastic:mainfrom
janmonschke:cases/update-api-example
Dec 3, 2025
Merged

[Cases] Update delete case api example#244878
janmonschke merged 4 commits intoelastic:mainfrom
janmonschke:cases/update-api-example

Conversation

@janmonschke
Copy link
Copy Markdown
Contributor

@janmonschke janmonschke commented Dec 2, 2025

Summary

The API expects an array, the example was a simple string

@janmonschke janmonschke added the release_note:skip Skip the PR/issue when compiling release notes label Dec 2, 2025
@janmonschke janmonschke requested a review from a team as a code owner December 2, 2025 10:53
@janmonschke janmonschke added docs backport:all-open Backport to all branches that could still receive a release Team:Cases Security Solution Cases team labels Dec 2, 2025
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-cases (Team:Cases)

@elastic-vault-github-plugin-prod elastic-vault-github-plugin-prod bot requested a review from a team as a code owner December 3, 2025 11:07
@janmonschke janmonschke enabled auto-merge (squash) December 3, 2025 11:29
@janmonschke janmonschke disabled auto-merge December 3, 2025 13:47
@janmonschke janmonschke enabled auto-merge (squash) December 3, 2025 13:48
Copy link
Copy Markdown
Member

@nastasha-solomon nastasha-solomon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just the one comment. Otherwise, lgtm!

@janmonschke janmonschke merged commit aea619e into elastic:main Dec 3, 2025
12 checks passed
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.19, 9.1, 9.2

https://github.com/elastic/kibana/actions/runs/19903203212

@elasticmachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #90 / visualize app - new charts library visualize Timelion visualization expression typeahead dynamic suggestions for argument values .es() should show field suggestions for split argument when index pattern set

Metrics [docs]

✅ unchanged

History

kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Dec 3, 2025
## Summary

The API expects an array, the example was a simple string

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit aea619e)
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Dec 3, 2025
## Summary

The API expects an array, the example was a simple string

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit aea619e)
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Dec 3, 2025
## Summary

The API expects an array, the example was a simple string

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit aea619e)
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
8.19
9.1
9.2

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Dec 3, 2025
# Backport

This will backport the following commits from `main` to `9.2`:
- [[Cases] Update delete case api example
(#244878)](#244878)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Jan
Monschke","email":"jan.monschke@elastic.co"},"sourceCommit":{"committedDate":"2025-12-03T17:38:55Z","message":"[Cases]
Update delete case api example (#244878)\n\n## Summary\n\nThe API
expects an array, the example was a simple
string\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"aea619e4f6b6d8b1b1e797867939cb94b0c8618e","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","docs","backport:all-open","Team:Cases","v9.3.0"],"title":"[Cases]
Update delete case api
example","number":244878,"url":"https://github.com/elastic/kibana/pull/244878","mergeCommit":{"message":"[Cases]
Update delete case api example (#244878)\n\n## Summary\n\nThe API
expects an array, the example was a simple
string\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"aea619e4f6b6d8b1b1e797867939cb94b0c8618e"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/244878","number":244878,"mergeCommit":{"message":"[Cases]
Update delete case api example (#244878)\n\n## Summary\n\nThe API
expects an array, the example was a simple
string\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"aea619e4f6b6d8b1b1e797867939cb94b0c8618e"}}]}]
BACKPORT-->

Co-authored-by: Jan Monschke <jan.monschke@elastic.co>
@kibanamachine kibanamachine added v9.2.3 backport missing Added to PRs automatically when the are determined to be missing a backport. labels Dec 3, 2025
@kibanamachine
Copy link
Copy Markdown
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.
cc: @janmonschke

kibanamachine added a commit that referenced this pull request Dec 4, 2025
# Backport

This will backport the following commits from `main` to `8.19`:
- [[Cases] Update delete case api example
(#244878)](#244878)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Jan
Monschke","email":"jan.monschke@elastic.co"},"sourceCommit":{"committedDate":"2025-12-03T17:38:55Z","message":"[Cases]
Update delete case api example (#244878)\n\n## Summary\n\nThe API
expects an array, the example was a simple
string\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"aea619e4f6b6d8b1b1e797867939cb94b0c8618e","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","docs","backport:all-open","Team:Cases","v9.3.0"],"title":"[Cases]
Update delete case api
example","number":244878,"url":"https://github.com/elastic/kibana/pull/244878","mergeCommit":{"message":"[Cases]
Update delete case api example (#244878)\n\n## Summary\n\nThe API
expects an array, the example was a simple
string\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"aea619e4f6b6d8b1b1e797867939cb94b0c8618e"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/244878","number":244878,"mergeCommit":{"message":"[Cases]
Update delete case api example (#244878)\n\n## Summary\n\nThe API
expects an array, the example was a simple
string\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"aea619e4f6b6d8b1b1e797867939cb94b0c8618e"}}]}]
BACKPORT-->

Co-authored-by: Jan Monschke <jan.monschke@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
kibanamachine added a commit that referenced this pull request Dec 4, 2025
# Backport

This will backport the following commits from `main` to `9.1`:
- [[Cases] Update delete case api example
(#244878)](#244878)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Jan
Monschke","email":"jan.monschke@elastic.co"},"sourceCommit":{"committedDate":"2025-12-03T17:38:55Z","message":"[Cases]
Update delete case api example (#244878)\n\n## Summary\n\nThe API
expects an array, the example was a simple
string\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"aea619e4f6b6d8b1b1e797867939cb94b0c8618e","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","docs","backport:all-open","Team:Cases","v9.3.0"],"title":"[Cases]
Update delete case api
example","number":244878,"url":"https://github.com/elastic/kibana/pull/244878","mergeCommit":{"message":"[Cases]
Update delete case api example (#244878)\n\n## Summary\n\nThe API
expects an array, the example was a simple
string\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"aea619e4f6b6d8b1b1e797867939cb94b0c8618e"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/244878","number":244878,"mergeCommit":{"message":"[Cases]
Update delete case api example (#244878)\n\n## Summary\n\nThe API
expects an array, the example was a simple
string\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"aea619e4f6b6d8b1b1e797867939cb94b0c8618e"}}]}]
BACKPORT-->

Co-authored-by: Jan Monschke <jan.monschke@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@kibanamachine kibanamachine added v9.1.9 and removed backport missing Added to PRs automatically when the are determined to be missing a backport. labels Dec 4, 2025
JordanSh pushed a commit to JordanSh/kibana that referenced this pull request Dec 9, 2025
## Summary

The API expects an array, the example was a simple string

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
@lcawl lcawl mentioned this pull request Jan 10, 2026
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:all-open Backport to all branches that could still receive a release docs release_note:skip Skip the PR/issue when compiling release notes Team:Cases Security Solution Cases team v8.19.9 v9.1.9 v9.2.3 v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants