JSM "Link Space" dropdown doesn't show all results when connected to Confluence Data Center

XMLWordPrintable

    • 26
    • Severity 3 - Minor
    • 44

      Issue Summary

      When someone searches for spaces in Link Spaces in the JSM Project linked to the on-prem Confluence site, the search doesn't work. 

      Steps to Reproduce

      1. Create an app tunnel and app link between the cloud JSM and On-prem Confluence using this link
      2. Go to JSM project > Project Settings > Knowledge Base, and then click on link space. 
      3. In the drop-down menu, try searching any existing spaces.
      4. This is a problem if the customer has thousands of spaces. 

      Expected Results

      We shall get the expected search results back. For example, Co should return all the spaces starting with Co. 

      Actual Results

      No results are returned.

      Workaround

      When the space is not listed in the dropdown due to the known bug, there is a REST API method that may work, this requires some familiarity with browser Developer Tools and the Terminal tool:

      • Navigate to Project Settings > Knowledge Base>, and click on Link Space.
      • Select the Confluence server and space. If the desired space is not available in the dropdown, then open Developer Tools in your browser first then link any listed space from the drop down.
      • In the Developer Tools' network tab, locate the linked-spaces endpoint, right-click it, and select "Copy as cURL".
      • Paste the cURL command into a text editor and modify the following parameters:
        • spaceName
        • spaceKey
        • Set isConfluenceServer to true
        • It should look something like below:
          --data-raw '{"applinkId":"<YOUR_APP_LINK_ID>","isConfluenceServer":true,"spaceDetails":[{"spaceName":"<YOUR_SPACE_NAME>","spaceKey":"<YOUR_SPACE_KEY>"}]}'
          
      • After making the above changes, paste the entire cURL command into a command-line terminal and execute it.
      • Refresh your webpage to check if the Confluence space is now linked.

            Assignee:
            Premanku Chakraborty
            Reporter:
            Ankur Bhalotia (Inactive)
            Votes:
            6 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved: