Uploaded image for project: 'Atlassian Intelligence'
  1. Atlassian Intelligence
  2. AI-311

CQL search using REST API returns stale results

XMLWordPrintable

    • Minor

      Issue Summary

      When using REST API endpoints that rely on search e.g. "/wiki/rest/api/search" The search will return stale results after making an update e.g. deleting a page.

      This is reproducible on Data Center: unknown

      Steps to Reproduce

      1. Step 1. Use the REST API to copy a page tree of pages that have labels into a target space.
      2. Step 2 After the API returns, perform a search for pages in the destination space.

      Expected Results

      The search returns the pages that were copied into the new space with the labels.

      Actual Results

      The results will not include the pages with labels.

      Workaround

      Possible workarounds are to simply use API calls that do not rely on search, and crawl the pages to get their current state instead of relying on search.

            e46a98cf7a0c Dylan Jones
            jlong@atlassian.com Jared Long
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: