Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-5095

Cannot return search results in 'Configure a Confluence knowledge base'

    XMLWordPrintable

Details

    Description

      When attempting to link a Confluence space as a knowledge base there are two issues:

      1. Only 50 results can be returned as described in Confluence REST API, specifically '@link DefaultRestSpaceManager#DEFAULT_MAX_SIZE' which is set at 50.
      2. A typed query for a space will result in a spinner and no results returned.

      The typed query does perform a successful request, however these results are not rendered:

      Example:
      Available Spaces:

      confluence=# select spacename from spaces;
            spacename
      ---------------------
       PDF Export
       Demonstration Space
       COMPY
       Epic Check
       Customiser
       Inherit
       Trial
      (7 rows)

      Request URL:

      Request URL:https://<ondemand-url>/rest/servicedesk/1/servicedesk/SER/kb/232badc9-aa3b-36cf-9dc0-50eb4eef759d/space?query=Epic&_=1409546835409

      Response:

      {"queryTokens":["epic"],"query":"Epic","contentNameMatches":[[{"id":"1245187","name":"Epic Check","href":"/wiki/display/EC","className":"content-type-spacedesc","spaceName":"Epic Check","spaceKey":"EC"}],[{"name":"Search for &lsquo;Epic&rsquo;","href":"/wiki/dosearchsite.action?queryString=Epic","className":"search-for"}]]}

      Effect in JIRA ServiceDesk UI:

      Workaround 1: Using temporary user profile

      • Create a temporary profile with access to administer the JIRA ServiceDesk as an individual here and
      • Permission the temporary profile as an individual to see the desired space in Confluence. This will restrict the items displayed in the drop-down

      Workaround 2: Database Edit

      • Select and set a space from the 50 available results
      • Confirm the desired space key from Confluence, including Space Key, Space Name and Space URL
      • Raise a request via support.atlassian.com to perform an update on the table "AO_54307E_CONFLUENCEKB" linking to the desired space key

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pgreig Paul Greig
              Votes:
              13 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: