Problem Statement:
We are using the Confluence Cloud API for advanced search with CQL, but we are experiencing discrepancies between the search results from the Confluence UI and the API. We are using following CQL query
API doc:
https://developer.atlassian.com/server/confluence/advanced-searching-using-cql/
CQL : title~"custom"++OR+title~"applications"
In the UI, the results differ significantly from those returned by the API.
Expected Behavior:
The API search should return the same results as the UI search when using equivalent search criteria.
Actual Behavior:
The API search should be similar to ui search results
Needs Investigation ?
Welcome to the community.
Can you share the results and the difference from both searches?
Do mind the documentation you used is based on an on-prem installation of Confluence not Cloud!
The APi's are very different.
Cloud documentation on CQL, advanced-searching-using-cql
Hi @Marc - Devoteam ,
We're using the Cloud API and a cloud instance for Confluence.
Could you please help me correct the CQL so that it returns the same results in the API as in the UI search?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What are the differences you see, searching via the GUI or API?
And in my opinion the API call should be: cql=title~"test"%20OR%20title~"jira"
Keep in mind that the limit of returned information is 25 results.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.