-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Copy saved object in Spaces API not returning response according to documentation #77616
Comments
Pinging @elastic/kibana-platform (Team:Platform) |
Pinging @elastic/kibana-security (Team:Security) |
Looking at the code, it does appear that the code: kibana/x-pack/plugins/spaces/server/routes/api/external/copy_to_space.ts Lines 94 to 100 in 9079aca
|
Hi @emilygray0702, The
|
Kibana version: 7.8
Elasticsearch version: 7.8
Server OS version: CentOS 7 (Docker container)
Original install method (e.g. download page, yum, from source, etc.): official Elastic Docker images
Describe the bug: I used /api/spaces/_copy_saved_objects to copy a dashboard from the default space to another space. It returned with successCount 4 (I was only copying one dashboard, but possibly there were references copied as well), but no
successResults
array. It says in the documentation that information about the object(s) copied should be returned there. The dashboard was copied successfully.Steps to reproduce:
Expected behavior:
successResults
in response bodyResponse body:
{"<space ID>":{"success":true,"successCount":4}}
The text was updated successfully, but these errors were encountered: