Commit 106c69d
# Backport
This will backport the following commits from `main` to `8.19`:
- [[Response Ops][Reporting] Store `space_id` in report doc generated
from scheduled export
(#225669)](#225669)
<!--- Backport version: 9.6.6 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Ying
Mao","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-07-02T11:33:53Z","message":"[Response
Ops][Reporting] Store `space_id` in report doc generated from scheduled
export (#225669)\n\n## Summary\n\nNoticed during verification that the
report document generated during\nscheduled exports do not include the
`space_id` field. We added it for\nsingle exports in
[this\nPR](#221375) but forgot to
update\nthe scheduled export feature to pass through the space ID.\n\n##
To Verify\n\n1. Create a scheduled export and wait for it to generate a
report\n2. Look for the doc in `.kibana-reporting`. It should contain
the\n`space_id` field.\n\nCo-authored-by: Elastic Machine
<[email protected]>","sha":"d43d90094aa2c6902624ccccd1c199f73fbfe9de","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:ResponseOps","Feature:Reporting:Framework","backport:version","v9.1.0","v8.19.0","v9.2.0"],"title":"[Response
Ops][Reporting] Store `space_id` in report doc generated from scheduled
export","number":225669,"url":"https://github.com/elastic/kibana/pull/225669","mergeCommit":{"message":"[Response
Ops][Reporting] Store `space_id` in report doc generated from scheduled
export (#225669)\n\n## Summary\n\nNoticed during verification that the
report document generated during\nscheduled exports do not include the
`space_id` field. We added it for\nsingle exports in
[this\nPR](#221375) but forgot to
update\nthe scheduled export feature to pass through the space ID.\n\n##
To Verify\n\n1. Create a scheduled export and wait for it to generate a
report\n2. Look for the doc in `.kibana-reporting`. It should contain
the\n`space_id` field.\n\nCo-authored-by: Elastic Machine
<[email protected]>","sha":"d43d90094aa2c6902624ccccd1c199f73fbfe9de"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/225669","number":225669,"mergeCommit":{"message":"[Response
Ops][Reporting] Store `space_id` in report doc generated from scheduled
export (#225669)\n\n## Summary\n\nNoticed during verification that the
report document generated during\nscheduled exports do not include the
`space_id` field. We added it for\nsingle exports in
[this\nPR](#221375) but forgot to
update\nthe scheduled export feature to pass through the space ID.\n\n##
To Verify\n\n1. Create a scheduled export and wait for it to generate a
report\n2. Look for the doc in `.kibana-reporting`. It should contain
the\n`space_id` field.\n\nCo-authored-by: Elastic Machine
<[email protected]>","sha":"d43d90094aa2c6902624ccccd1c199f73fbfe9de"}}]}]
BACKPORT-->
Co-authored-by: Ying Mao <[email protected]>
Co-authored-by: Elastic Machine <[email protected]>
1 parent 9672791 commit 106c69d
File tree
4 files changed
+10
-1
lines changed- x-pack/platform/plugins/private/reporting/server/lib
- store
- tasks
4 files changed
+10
-1
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| 85 | + | |
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
| |||
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
| 108 | + | |
106 | 109 | | |
107 | 110 | | |
108 | 111 | | |
| |||
140 | 143 | | |
141 | 144 | | |
142 | 145 | | |
| 146 | + | |
143 | 147 | | |
144 | 148 | | |
145 | 149 | | |
| |||
154 | 158 | | |
155 | 159 | | |
156 | 160 | | |
| 161 | + | |
157 | 162 | | |
158 | 163 | | |
159 | 164 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | | - | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
| 340 | + | |
340 | 341 | | |
341 | 342 | | |
342 | 343 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
0 commit comments