-
Bug
-
Resolution: Fixed
-
Low
-
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
- Watch any given number of pages
- Check the watched content with https://mysite.atlassian.net/wiki/rest/api/search?cql=watcher=currentUser()
- Check that it reports all pages being watched by the current user
- Stop watching any of the previously watched pages
- 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.
- relates to
-
AI-234 Pages in renamed spaces show the previous name in search results when a rename is performed via the REST API
-
- In Progress
-
-
AI-193 After migrating via CCMA, Confluence Cloud requires reindexing to resolve inaccurate searches and other issues
-
- Gathering Impact
-
-
AI-212 Old pages are not reindexed after new content property extraction is added in atlassian-connect.json
-
- Gathering Impact
-
-
AI-345 Confluence Administrators unable to Reindex Manually
- Under Consideration