[9.1] [ResponseOps] [Reporting] Reports not showing up in the reporting list for spaces with a dash in them (#230876)#231345
Merged
kibanamachine merged 1 commit intoelastic:9.1from Aug 11, 2025
Conversation
…t for spaces with a dash in them (elastic#230876) Resolves elastic#230867 ## Summary Sometimes reports are showing up in the UI in spaces other than the default space. We noticed this bug for spaces with a dash in them, but it can happen in other spaces too. Thehe `space_id` is getting mapped as a text field, so the `jobs/list` api is not filtering for them correctly. This PR updates the query to also search on `space_id.keyword`. ### Checklist - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios ### To verify 1. Checkout this branch, and create another space with spaces or dashes in the name, like test-internal. 1. Generate PDF, PNG, and CSV reports in your new space and default space. Go to Stack Management > Reporting to verify that your report shows up in the UI. **Test upgrading** Upgrade from 8.17.4 -> 8.18.4 -> 8.19.0 -> this branch Run Kibana with `yarn es snapshot --license trial -E path.data=../data` 1. Checkout 8.17.4, and create another space with spaces or dashes in the name, like test-internal. 2. Generate PDF, PNG, and CSV reports in your new space and default space. 3. Upgrade to 8.18.4 and generate PDF, PNG, and CSV reports in your new space and default space. 4. Upgrade to 8.19.0 and generate PDF, PNG, and CSV reports in your new space and default space. At this point, bc the bug is in the branch, you wont be able to see your reports in Stack Management > Reporting. 5. Upgrade to this branch and generate PDF, PNG, and CSV reports in your new space and default space. Go to Stack Management > Reporting to verify that your all report shows up in the UI for both spaces. (cherry picked from commit 6702d25)
1 task
Contributor
💚 Build Succeeded
Metrics [docs]
cc @doakalexi |
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.
Backport
This will backport the following commits from
mainto9.1:Questions ?
Please refer to the Backport tool documentation