Skip to content

[Cases] Add cases.removeTags workflow step#268465

Open
janmonschke wants to merge 4 commits into
elastic:mainfrom
janmonschke:cases/add-remove-tag-workflow-step
Open

[Cases] Add cases.removeTags workflow step#268465
janmonschke wants to merge 4 commits into
elastic:mainfrom
janmonschke:cases/add-remove-tag-workflow-step

Conversation

@janmonschke
Copy link
Copy Markdown
Contributor

Summary

We were missing a cases.removeTags workflow step. While it can be achieved using a combination of cases.getCase and cases.updateCase, it adds a lot of convenience to workflow creators to have this in a single step.

@janmonschke janmonschke self-assigned this May 8, 2026
@janmonschke janmonschke requested a review from a team as a code owner May 8, 2026 14:30
@janmonschke janmonschke added release_note:enhancement backport:version Backport to applied version labels Team:Cases Security Solution Cases team v9.4.0 v9.5.0 labels May 8, 2026
@infra-vault-gh-plugin-prod
Copy link
Copy Markdown

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

@janmonschke janmonschke requested a review from a team as a code owner May 8, 2026 18:09
@botelastic botelastic Bot added the Team:One Workflow Team label for One Workflow (Workflow automation) label May 8, 2026
@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Scout Lane #7 - stateful-classic / default / local-stateful-classic - APM integration not installed but setup completed - Admin user
  • [job] [logs] Scout Lane #7 - stateful-classic / default / local-stateful-classic - Observability Landing Page (discover.isEsqlDefault enabled) - redirects to onboarding when no logs data exists

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
cases 2004 2005 +1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
cases 2.3MB 2.3MB +849.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
cases 173.5KB 173.7KB +150.0B

History

cc @janmonschke

}
);

export const REMOVE_TAG_STEP_LABEL = i18n.translate('xpack.cases.workflowSteps.removeTag.label', {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
export const REMOVE_TAG_STEP_LABEL = i18n.translate('xpack.cases.workflowSteps.removeTag.label', {
export const REMOVE_TAG_STEP_LABEL = i18n.translate('xpack.cases.workflowSteps.removeTags.label', {

same for below

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

Labels

backport:version Backport to applied version labels release_note:enhancement Team:Cases Security Solution Cases team Team:One Workflow Team label for One Workflow (Workflow automation) v9.4.0 v9.5.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants