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

Searching for watcher field via CQL yields incorrect results

    • Severity 3 - Minor
    • 0

      Issue Summary

      Currently, using the CQL search for watched content for a specific user does not work as intended.

      The CQL search watcher=currentUser() yields incorrect watched content count. Documentation states the following:

      Search for content that a particular user is watching. You can search by the user's accountId.

      Full document:

      Confluence Cloud Developer - CQL Fields - Watcher

      Steps to Reproduce

      1. Watch any given number of pages
      2. Check the watched content with https://mysite.atlassian.net/wiki/rest/api/search?cql=watcher=currentUser()
      3. Check that it reports all pages being watched by the current user
      4. Stop watching any of the previously watched pages
      5. Check the watched content with https://mysite.atlassian.net/wiki/rest/api/search?cql=watcher=currentUser()

      Expected Results

      Only the pages that are currently watched are returned.

      Actual Results

      All pages that were ever watched by the user are listed, no matter if the user stopped watching them.

      Workaround

      Initiate any other activity that forces Confluence to re-index the content. Using the "Star this page" or "Unstar this page" button triggers the re-index and the watcher count is updated.

            [AI-502] Searching for watcher field via CQL yields incorrect results

            josef made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]

            josef added a comment -

            Fix is in prod now

            josef added a comment - Fix is in prod now
            josef made changes -
            Status Original: In Progress [ 3 ] New: Waiting for Release [ 12075 ]
            josef made changes -
            Status Original: Gathering Impact [ 12072 ] New: In Progress [ 3 ]
            josef made changes -
            Assignee New: josef [ jjohn@atlassian.com ]
            pqz made changes -
            Component/s Original: Search - Core [ 46383 ]
            Component/s New: Search - Core [ 75296 ]
            Key Original: CONFCLOUD-70064 New: AI-502
            QA Demo Status Original: Not Done [ 14330 ]
            QA Kickoff Status Original: Not Done [ 14234 ]
            Support reference count Original: 1
            Project Original: Confluence Cloud [ 18513 ] New: Atlassian Intelligence [ 23110 ]
            Dario B made changes -
            Link New: This issue relates to CONFCLOUD-76725 [ CONFCLOUD-76725 ]
            Dario B made changes -
            Link New: This issue relates to CONFCLOUD-72137 [ CONFCLOUD-72137 ]
            Dario B made changes -
            Link New: This issue relates to CONFCLOUD-72630 [ CONFCLOUD-72630 ]
            Dario B made changes -
            Link New: This issue relates to CONFCLOUD-33400 [ CONFCLOUD-33400 ]

              jjohn@atlassian.com josef
              drodrigues@atlassian.com Diego (Inactive)
              Affected customers:
              5 This affects my team
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: