Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Response Ops][Cases] Cases with empty string assignees throwing error #209950

Closed
jcger opened this issue Feb 6, 2025 · 2 comments · Fixed by #209973
Closed

[Response Ops][Cases] Cases with empty string assignees throwing error #209950

jcger opened this issue Feb 6, 2025 · 2 comments · Fixed by #209973
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Cases Cases feature Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@jcger
Copy link
Contributor

jcger commented Feb 6, 2025

This is a bug from a SDH, the user sees all assignees in the cases list as unknown and this error is showing up

Image

Steps to reproduce:

  • Create a user with system_indices_superuser and log in as the new user
  • Create a case assigning it to yourself
  • Create another case assigning it to yourself
  • Get the case id of one of the cases
  • Break its assigned user running this from dev tools:
POST .kibana_alerting_cases/_update/cases:<case_id>
{
  "script": {
    "source": """
      if (ctx._source.cases.assignees.empty) {
        ctx._source.cases.assignees.add(["uid": ""]);
      } else {
        ctx._source.cases.assignees[0].uid = "";
      }
    """
  }
}
  • Go to cases list

Expected result

No error showing up, assigned user should be the created user

Actual result

Throws an error and the user is unknown

Possible fix

We think that ignoring empty strings here might solve the issue

Extra info

There is some weird behaviour going on when just having one case with empty string assignee. It seems like something on the Kibana API side makes the request to be treated as a GET request instead of POST and the error thrown is another one. This is why, in steps to reproduce, two cases need to be created

@jcger jcger added bug Fixes for quality problems that affect the customer experience Feature:Cases Cases feature Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) labels Feb 6, 2025
@jcger jcger self-assigned this Feb 6, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops-cases (Feature:Cases)

@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@jcger jcger closed this as completed in 0897d08 Feb 12, 2025
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Feb 12, 2025
elastic#209973)

## Summary
Closes elastic#209950

Testing steps in referenced issue

## Release note
Fix error message in cases list if case assignee is an empty string

(cherry picked from commit 0897d08)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Feb 12, 2025
elastic#209973)

## Summary
Closes elastic#209950

Testing steps in referenced issue

## Release note
Fix error message in cases list if case assignee is an empty string

(cherry picked from commit 0897d08)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Feb 12, 2025
elastic#209973)

## Summary
Closes elastic#209950

Testing steps in referenced issue

## Release note
Fix error message in cases list if case assignee is an empty string

(cherry picked from commit 0897d08)
jcger added a commit to jcger/kibana that referenced this issue Feb 12, 2025
elastic#209973)

## Summary
Closes elastic#209950

Testing steps in referenced issue

## Release note
Fix error message in cases list if case assignee is an empty string

(cherry picked from commit 0897d08)

# Conflicts:
#	x-pack/plugins/cases/server/client/cases/bulk_update.test.ts
#	x-pack/plugins/cases/server/client/cases/create.test.ts
#	x-pack/plugins/cases/server/client/cases/sanitizers.ts
jcger added a commit to jcger/kibana that referenced this issue Feb 12, 2025
elastic#209973)

## Summary
Closes elastic#209950

Testing steps in referenced issue

## Release note
Fix error message in cases list if case assignee is an empty string

(cherry picked from commit 0897d08)

# Conflicts:
#	x-pack/plugins/cases/public/components/all_cases/all_cases_list.test.tsx
#	x-pack/plugins/cases/server/client/cases/bulk_update.test.ts
#	x-pack/plugins/cases/server/client/cases/create.test.ts
#	x-pack/plugins/cases/server/client/cases/sanitizers.ts
jcger added a commit that referenced this issue Feb 12, 2025
…ng error (#209973) (#210755)

# Backport

This will backport the following commits from `main` to `8.17`:
- [[Response Ops][Cases] Cases with empty string assignees throwing
error (#209973)](#209973)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"Julian
Gernun","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-02-12T06:06:44Z","message":"[Response
Ops][Cases] Cases with empty string assignees throwing error
(#209973)\n\n## Summary\nCloses
https://github.com/elastic/kibana/issues/209950\n\nTesting steps in
referenced issue\n\n## Release note\nFix error message in cases list if
case assignee is an empty
string","sha":"0897d0878622db9d9747e2bc1292d647c09ad996","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:ResponseOps","v9.0.0","Feature:Cases","backport:prev-major","v8.18.0","v8.16.4","v8.17.2","v9.1.0","v8.19.0"],"title":"[Response
Ops][Cases] Cases with empty string assignees throwing
error","number":209973,"url":"https://github.com/elastic/kibana/pull/209973","mergeCommit":{"message":"[Response
Ops][Cases] Cases with empty string assignees throwing error
(#209973)\n\n## Summary\nCloses
https://github.com/elastic/kibana/issues/209950\n\nTesting steps in
referenced issue\n\n## Release note\nFix error message in cases list if
case assignee is an empty
string","sha":"0897d0878622db9d9747e2bc1292d647c09ad996"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.17"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/210733","number":210733,"state":"MERGED","mergeCommit":{"sha":"ee04349a417e47004062aeb796092f6813122192","message":"[9.0]
[Response Ops][Cases] Cases with empty string assignees throwing error
(#209973) (#210733)\n\n# Backport\n\nThis will backport the following
commits from `main` to `9.0`:\n- [[Response Ops][Cases] Cases with empty
string assignees throwing\nerror
(#209973)](https://github.com/elastic/kibana/pull/209973)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Julian\nGernun\",\"email\":\"[email protected]\"},\"sourceCommit\":{\"committedDate\":\"2025-02-12T06:06:44Z\",\"message\":\"[Response\nOps][Cases]
Cases with empty string assignees throwing error\n(#209973)\\n\\n##
Summary\\nCloses\nhttps://github.com//issues/209950\\n\\nTesting
steps in\nreferenced issue\\n\\n## Release note\\nFix error message in
cases list if\ncase assignee is an
empty\nstring\",\"sha\":\"0897d0878622db9d9747e2bc1292d647c09ad996\",\"branchLabelMapping\":{\"^v9.1.0$\":\"main\",\"^v8.19.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"bug\",\"release_note:fix\",\"Team:ResponseOps\",\"v9.0.0\",\"Feature:Cases\",\"backport:prev-major\",\"v8.18.0\",\"v8.16.4\",\"v8.17.2\",\"v9.1.0\"],\"title\":\"[Response\nOps][Cases]
Cases with empty string assignees
throwing\nerror\",\"number\":209973,\"url\":\"https://github.com/elastic/kibana/pull/209973\",\"mergeCommit\":{\"message\":\"[Response\nOps][Cases]
Cases with empty string assignees throwing error\n(#209973)\\n\\n##
Summary\\nCloses\nhttps://github.com//issues/209950\\n\\nTesting
steps in\nreferenced issue\\n\\n## Release note\\nFix error message in
cases list if\ncase assignee is an
empty\nstring\",\"sha\":\"0897d0878622db9d9747e2bc1292d647c09ad996\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"9.0\",\"8.18\",\"8.16\",\"8.17\"],\"targetPullRequestStates\":[{\"branch\":\"9.0\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.18\",\"label\":\"v8.18.0\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.16\",\"label\":\"v8.16.4\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.17\",\"label\":\"v8.17.2\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"main\",\"label\":\"v9.1.0\",\"branchLabelMappingKey\":\"^v9.1.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/209973\",\"number\":209973,\"mergeCommit\":{\"message\":\"[Response\nOps][Cases]
Cases with empty string assignees throwing error\n(#209973)\\n\\n##
Summary\\nCloses\nhttps://github.com//issues/209950\\n\\nTesting
steps in\nreferenced issue\\n\\n## Release note\\nFix error message in
cases list if\ncase assignee is an
empty\nstring\",\"sha\":\"0897d0878622db9d9747e2bc1292d647c09ad996\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Julian Gernun
<[email protected]>"}},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/210731","number":210731,"state":"OPEN"},{"branch":"8.16","label":"v8.16.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/209973","number":209973,"mergeCommit":{"message":"[Response
Ops][Cases] Cases with empty string assignees throwing error
(#209973)\n\n## Summary\nCloses
https://github.com/elastic/kibana/issues/209950\n\nTesting steps in
referenced issue\n\n## Release note\nFix error message in cases list if
case assignee is an empty
string","sha":"0897d0878622db9d9747e2bc1292d647c09ad996"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/210732","number":210732,"state":"MERGED","mergeCommit":{"sha":"8b98614e9dbdaaeaebac56d633cd2b7c35af01bd","message":"[8.x]
[Response Ops][Cases] Cases with empty string assignees throwing error
(#209973) (#210732)\n\n# Backport\n\nThis will backport the following
commits from `main` to `8.x`:\n- [[Response Ops][Cases] Cases with empty
string assignees throwing\nerror
(#209973)](https://github.com/elastic/kibana/pull/209973)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Julian\nGernun\",\"email\":\"[email protected]\"},\"sourceCommit\":{\"committedDate\":\"2025-02-12T06:06:44Z\",\"message\":\"[Response\nOps][Cases]
Cases with empty string assignees throwing error\n(#209973)\\n\\n##
Summary\\nCloses\nhttps://github.com//issues/209950\\n\\nTesting
steps in\nreferenced issue\\n\\n## Release note\\nFix error message in
cases list if\ncase assignee is an
empty\nstring\",\"sha\":\"0897d0878622db9d9747e2bc1292d647c09ad996\",\"branchLabelMapping\":{\"^v9.1.0$\":\"main\",\"^v8.19.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"bug\",\"release_note:fix\",\"Team:ResponseOps\",\"v9.0.0\",\"Feature:Cases\",\"backport:prev-major\",\"v8.18.0\",\"v8.16.4\",\"v8.17.2\",\"v9.1.0\"],\"title\":\"[Response\nOps][Cases]
Cases with empty string assignees
throwing\nerror\",\"number\":209973,\"url\":\"https://github.com/elastic/kibana/pull/209973\",\"mergeCommit\":{\"message\":\"[Response\nOps][Cases]
Cases with empty string assignees throwing error\n(#209973)\\n\\n##
Summary\\nCloses\nhttps://github.com//issues/209950\\n\\nTesting
steps in\nreferenced issue\\n\\n## Release note\\nFix error message in
cases list if\ncase assignee is an
empty\nstring\",\"sha\":\"0897d0878622db9d9747e2bc1292d647c09ad996\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"9.0\",\"8.18\",\"8.16\",\"8.17\"],\"targetPullRequestStates\":[{\"branch\":\"9.0\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.18\",\"label\":\"v8.18.0\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.16\",\"label\":\"v8.16.4\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.17\",\"label\":\"v8.17.2\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"main\",\"label\":\"v9.1.0\",\"branchLabelMappingKey\":\"^v9.1.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/209973\",\"number\":209973,\"mergeCommit\":{\"message\":\"[Response\nOps][Cases]
Cases with empty string assignees throwing error\n(#209973)\\n\\n##
Summary\\nCloses\nhttps://github.com//issues/209950\\n\\nTesting
steps in\nreferenced issue\\n\\n## Release note\\nFix error message in
cases list if\ncase assignee is an
empty\nstring\",\"sha\":\"0897d0878622db9d9747e2bc1292d647c09ad996\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Julian Gernun <[email protected]>"}}]}]
BACKPORT-->
jcger added a commit that referenced this issue Feb 12, 2025
…ng error (#209973) (#210768)

# Backport

This will backport the following commits from `main` to `8.16`:
- [[Response Ops][Cases] Cases with empty string assignees throwing
error (#209973)](#209973)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"Julian
Gernun","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-02-12T06:06:44Z","message":"[Response
Ops][Cases] Cases with empty string assignees throwing error
(#209973)\n\n## Summary\nCloses
https://github.com/elastic/kibana/issues/209950\n\nTesting steps in
referenced issue\n\n## Release note\nFix error message in cases list if
case assignee is an empty
string","sha":"0897d0878622db9d9747e2bc1292d647c09ad996","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:ResponseOps","v9.0.0","Feature:Cases","backport:prev-major","v8.18.0","v8.16.4","v8.17.2","v9.1.0","v8.19.0"],"title":"[Response
Ops][Cases] Cases with empty string assignees throwing
error","number":209973,"url":"https://github.com/elastic/kibana/pull/209973","mergeCommit":{"message":"[Response
Ops][Cases] Cases with empty string assignees throwing error
(#209973)\n\n## Summary\nCloses
https://github.com/elastic/kibana/issues/209950\n\nTesting steps in
referenced issue\n\n## Release note\nFix error message in cases list if
case assignee is an empty
string","sha":"0897d0878622db9d9747e2bc1292d647c09ad996"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/210733","number":210733,"state":"MERGED","mergeCommit":{"sha":"ee04349a417e47004062aeb796092f6813122192","message":"[9.0]
[Response Ops][Cases] Cases with empty string assignees throwing error
(#209973) (#210733)\n\n# Backport\n\nThis will backport the following
commits from `main` to `9.0`:\n- [[Response Ops][Cases] Cases with empty
string assignees throwing\nerror
(#209973)](https://github.com/elastic/kibana/pull/209973)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Julian\nGernun\",\"email\":\"[email protected]\"},\"sourceCommit\":{\"committedDate\":\"2025-02-12T06:06:44Z\",\"message\":\"[Response\nOps][Cases]
Cases with empty string assignees throwing error\n(#209973)\\n\\n##
Summary\\nCloses\nhttps://github.com//issues/209950\\n\\nTesting
steps in\nreferenced issue\\n\\n## Release note\\nFix error message in
cases list if\ncase assignee is an
empty\nstring\",\"sha\":\"0897d0878622db9d9747e2bc1292d647c09ad996\",\"branchLabelMapping\":{\"^v9.1.0$\":\"main\",\"^v8.19.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"bug\",\"release_note:fix\",\"Team:ResponseOps\",\"v9.0.0\",\"Feature:Cases\",\"backport:prev-major\",\"v8.18.0\",\"v8.16.4\",\"v8.17.2\",\"v9.1.0\"],\"title\":\"[Response\nOps][Cases]
Cases with empty string assignees
throwing\nerror\",\"number\":209973,\"url\":\"https://github.com/elastic/kibana/pull/209973\",\"mergeCommit\":{\"message\":\"[Response\nOps][Cases]
Cases with empty string assignees throwing error\n(#209973)\\n\\n##
Summary\\nCloses\nhttps://github.com//issues/209950\\n\\nTesting
steps in\nreferenced issue\\n\\n## Release note\\nFix error message in
cases list if\ncase assignee is an
empty\nstring\",\"sha\":\"0897d0878622db9d9747e2bc1292d647c09ad996\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"9.0\",\"8.18\",\"8.16\",\"8.17\"],\"targetPullRequestStates\":[{\"branch\":\"9.0\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.18\",\"label\":\"v8.18.0\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.16\",\"label\":\"v8.16.4\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.17\",\"label\":\"v8.17.2\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"main\",\"label\":\"v9.1.0\",\"branchLabelMappingKey\":\"^v9.1.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/209973\",\"number\":209973,\"mergeCommit\":{\"message\":\"[Response\nOps][Cases]
Cases with empty string assignees throwing error\n(#209973)\\n\\n##
Summary\\nCloses\nhttps://github.com//issues/209950\\n\\nTesting
steps in\nreferenced issue\\n\\n## Release note\\nFix error message in
cases list if\ncase assignee is an
empty\nstring\",\"sha\":\"0897d0878622db9d9747e2bc1292d647c09ad996\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Julian Gernun
<[email protected]>"}},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/210731","number":210731,"state":"OPEN"},{"branch":"8.16","label":"v8.16.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/210755","number":210755,"state":"OPEN"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/209973","number":209973,"mergeCommit":{"message":"[Response
Ops][Cases] Cases with empty string assignees throwing error
(#209973)\n\n## Summary\nCloses
https://github.com/elastic/kibana/issues/209950\n\nTesting steps in
referenced issue\n\n## Release note\nFix error message in cases list if
case assignee is an empty
string","sha":"0897d0878622db9d9747e2bc1292d647c09ad996"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/210732","number":210732,"state":"MERGED","mergeCommit":{"sha":"8b98614e9dbdaaeaebac56d633cd2b7c35af01bd","message":"[8.x]
[Response Ops][Cases] Cases with empty string assignees throwing error
(#209973) (#210732)\n\n# Backport\n\nThis will backport the following
commits from `main` to `8.x`:\n- [[Response Ops][Cases] Cases with empty
string assignees throwing\nerror
(#209973)](https://github.com/elastic/kibana/pull/209973)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Julian\nGernun\",\"email\":\"[email protected]\"},\"sourceCommit\":{\"committedDate\":\"2025-02-12T06:06:44Z\",\"message\":\"[Response\nOps][Cases]
Cases with empty string assignees throwing error\n(#209973)\\n\\n##
Summary\\nCloses\nhttps://github.com//issues/209950\\n\\nTesting
steps in\nreferenced issue\\n\\n## Release note\\nFix error message in
cases list if\ncase assignee is an
empty\nstring\",\"sha\":\"0897d0878622db9d9747e2bc1292d647c09ad996\",\"branchLabelMapping\":{\"^v9.1.0$\":\"main\",\"^v8.19.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"bug\",\"release_note:fix\",\"Team:ResponseOps\",\"v9.0.0\",\"Feature:Cases\",\"backport:prev-major\",\"v8.18.0\",\"v8.16.4\",\"v8.17.2\",\"v9.1.0\"],\"title\":\"[Response\nOps][Cases]
Cases with empty string assignees
throwing\nerror\",\"number\":209973,\"url\":\"https://github.com/elastic/kibana/pull/209973\",\"mergeCommit\":{\"message\":\"[Response\nOps][Cases]
Cases with empty string assignees throwing error\n(#209973)\\n\\n##
Summary\\nCloses\nhttps://github.com//issues/209950\\n\\nTesting
steps in\nreferenced issue\\n\\n## Release note\\nFix error message in
cases list if\ncase assignee is an
empty\nstring\",\"sha\":\"0897d0878622db9d9747e2bc1292d647c09ad996\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"9.0\",\"8.18\",\"8.16\",\"8.17\"],\"targetPullRequestStates\":[{\"branch\":\"9.0\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.18\",\"label\":\"v8.18.0\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.16\",\"label\":\"v8.16.4\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.17\",\"label\":\"v8.17.2\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"main\",\"label\":\"v9.1.0\",\"branchLabelMappingKey\":\"^v9.1.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/209973\",\"number\":209973,\"mergeCommit\":{\"message\":\"[Response\nOps][Cases]
Cases with empty string assignees throwing error\n(#209973)\\n\\n##
Summary\\nCloses\nhttps://github.com//issues/209950\\n\\nTesting
steps in\nreferenced issue\\n\\n## Release note\\nFix error message in
cases list if\ncase assignee is an
empty\nstring\",\"sha\":\"0897d0878622db9d9747e2bc1292d647c09ad996\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Julian Gernun <[email protected]>"}}]}]
BACKPORT-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Cases Cases feature Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants