-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
1
-
Minor
-
Issue Summary
When creating a Confluence Automation Rule that requires users to select target Spaces for the action to complete the dropdown will not display Spaces and will show the error:
“Sorry, we’re having trouble loading results right now.”
Steps to Reproduce
- While having the site admin role create a space and set the permission to “Only visible to me”
- Go to space setting, add some one on the space, and deselect all the permission for yourself.
- Go to automation and use the copy page action. (You may also use move or any other action requiring you to select a Space).
Expected Results
You should be able to select any Space that you have permission over in the dropdown.
Actual Results
Dropdown is not displaying other Space and will force the user to setup the rule over the actual space.
The below error is thrown in the network request for dropdown menu:
{ "errors": [ { "message": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx: com.atlassian.confluence.api.service.exceptions.PermissionException: Not permitted to view space with id: _ID OF SPACE_", "path": [ "recentlyVisitedSpaces" ], "extensions": { "microsID": "a0ce0ab6-3b1a-416d-a631-31129a79976d", "data": { "authorized": false, "valid": true, "errors": [], "successful": false }, "statusCode": 403, "classification": "DataFetchingException" } } ], ... }
Workaround
- Go to Space permissions in the global admin view
- Recover permissions for the space you just removed yourself from. If you don’t remember, you can check the API response in the network tab when you try to get spaces in copy page action and look for the space with the matching space id in the PermissionException