Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-79263

Trying to select a target Space from dropdown while creating an Automation rule in confluence shows error.

XMLWordPrintable

      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

      1. While having the site admin role create a space and set the permission to “Only visible to me”
      2. Go to space setting, add some one on the space, and deselect all the permission for yourself.
      3. 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

      1. Go to Space permissions in the global admin view
      1. 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

              Unassigned Unassigned
              ebc00f6a1693 Diego Peralta
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: