Repository navigation
[Workflows][Cases] Document cases.deleteAttachments, extended fields, and the 9.6 deprecations - #9661
Draft
nastasha-solomon wants to merge 3 commits into
Draft
nastasha-solomon wants to merge 3 commits into
nastasha-solomon wants to merge 3 commits into
Conversation
…ded fields, deprecations Adds cases.deleteAttachments and cases.setExtendedFields, adds extended_fields to createCase and updateCase, and marks include_comments, customFields, and cases.setCustomField deprecated with their replacements. Closes #9037, #8314, #8972 AI-Assisted: Claude Code (Claude Fable 5.1)
…ciprocal pointers AI-Assisted: Claude Code (Claude Fable 5.1)
…precations, badge placement, active voice AI-Assisted: Claude Code (Claude Fable 5.1)
Contributor
Elastic Docs AI PR menuCheck the box to run an AI review for this pull request.
Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team. |
Contributor
🔍 Preview links for changed docs |
Contributor
✅ Elastic Docs Style Checker (Vale)No issues found on modified lines! The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Workflow authors can now delete attachments from a case with
cases.deleteAttachments, set extended fields withcases.setExtendedFieldsor theextended_fieldsinput ofcases.createCaseandcases.updateCase, and see which Cases step parameters are deprecated and what replaces them. Thecases.setExtendedFieldsstep shipped in 9.5 but was never listed, so it is added here because the deprecation notes point to it. Thecases.findCasesrow forcustomFieldsis left as is: the step schema at Kibanamainneither deprecates it nor acceptsextended_fields.Fixes #9037. Fixes #8314. Fixes #8972.
Previews
cases.deleteAttachmentssection under Attach content (9.6), newcases.setExtendedFieldssection under Update fields (9.5),extended_fieldsrows oncases.createCaseandcases.updateCase, and deprecation notes oninclude_comments(9.5),customFields(9.6), andcases.setCustomField(9.6). Thecases.getCaseexample no longer setsinclude_comments.cases.deleteAttachmentsandcases.setExtendedFields, and a deprecation tag oncases.setCustomField.For reviewers
cases.setCustomFieldis not deprecated at the definition level in Kibana: it is still registered and visible in the editor. Its own step description says custom fields are deprecated and namescases.setExtendedFields, so the section and the index row carry a deprecated badge and say that custom fields are deprecated, without adding the step to the deprecated step types table. Tell me if you want it treated as superseded instead.serverless: deprecatedas well as the stack version, since the Kibana changes are live on serverless.origin/main(x-pack/platform/plugins/shared/cases/common/workflows/steps/).Generative AI disclosure
Tool(s) and model(s) used: Claude Code (Claude Fable 5.1) drafted the content from the Kibana step schemas and the issues; every label, type, default, and limit was verified against Kibana
origin/main.