We are working with Onna eDiscovery Tools to "scan" (capture) data from Confluence.
We have a few spaces that are archived, and we plan to archive more as part of a clean-up effort.
When I pointed Onna at an archived space (DMPKB), it came back with 0 pages scanned.
So then I tried using Bob Swift's ACLI to also look at an archived space (using --action getPageList --space DMPKB) and it also came up with 0 results.
Poking around at the calls that ACLI is making, it seems that the behavior of the includeArchivedSpaces flag for the search API call is incompatible with the *space* parameter in CQL.
I've taken the API call that the ACLI is making to do a search by space (and presumably Onna does something similar) and appended &includeArchivedSpaces, which is valid in the UI's dositesearch.action (see second example).
Compare this to the search within the UI (where I have checked the "Search archived spaces" checkbox):
https://confluence.MYSITE.com/dosearchsite.action?cql=space+%3D+%22DMPKB%22&includeArchivedSpaces=trueReturns 6 results.
And also compare to a search by content instead of space:
https://confluence.MYSITE.com/rest/api/latest/content/search?cql=siteSearch+~+%22dmp+knowledge+base%22&includeArchivedSpaces=true&queryString=dmp+knowledge+baseReturns 46008 results (because it's too broad.)
Anyways, this isn't really the fault of @Bob Swift {Appfire} but since I did confirm that ACLI's getPageList for an archived space comes up with 0 pages, perhaps they have some insights into Confluence's search APIs with respect to the Archive flag?
Note: I have filed a Support ticket with Atlassian about this, but wondering if anyone in the community had experience trying to use the includeArchivedSpaces parameter with the search API, and specifically when trying to constrain search to a single space.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.