Hi, as part of our app’s migration process, we need to process pages migrated by the client to transform server macros to a format that is recognized by the cloud counterpart.
To do that, we run a cql search on pages in the instance when we receive a migration event.
BUT, it seems like the cql search is not reliable. For instance, running a CQL search (
/rest/api/search?cql=type%3Dpage+AND+macro%3D%22requirement%22&limit=20) doesn’t return any result before a page is manually created (Not containing the
requirement macro), after which, the search finally responds with the pages migrated containing the
My question is: did I find a bug? Or how long should we wait after a migration to make sure that Atlassian has finished processing pages in the backend before running the search?
Thanks, and best regards, Corentin.