Parent page destination field not populating properly on Copy Page Tree page

Problem

Parent page destination field not populating properly on Copy Page Tree page

Cause

We have determined that for relatively large spaces the Atlassian API our app uses does not return results, but rather times out. In other words our app asks Confluence for a list of pages in the space, but Confluence does not respond with an answer. Thus we've definitively determined that to be a bug in the Atlassian Confluence API. However Atlassian has now deprecated that API and offered a newer REST API which means we have to rewrite large parts of the app. And Atlassian no longer supports the API we are using. At the time of creating the app we used that API because it was the only one available.We have identified that Confluence sometimes times out on the destination drop down. This seems to be a proxy issue or bug with the JSON-RPC api which is not paginated

Workaround

  1. Copy the page tree to a "temp space" or space that has under a hundred pages so the "parent destination field" populates.
  2. After the copy you can navigate to the top of the new 'page tree' and use the Confluence "Move" page feature to move the new page tree to it's ultimate destination.