How to move specific pages using Bulk Move
Problem
You have multiple pages with titles starting with “2024-XYZ-Events”, where XYZ represents numbers from 001 to 365.
However, Confluence’s Move feature moves all selected pages along with their child pages. It does not allow selective exclusion of certain pages.
Proposed Solution
To move only the required pages, use the Bulk Move feature with a custom CQL.
Scenarios
Move only the pages whose titles with “2024-0” and maintain the child page hierarchy
Page Hierarchy before moving pages:
2024
2024 000 Events
2024-001-Event
Feedback for 2024-001-Event
Plan for 2024-001-Event
2024-002-Event
2024-003-Event
2024-201-Event
etc.
Page Hierarchy after moving pages:
2024
2024-001-Event
Feedback for 2024-001-Event
Plan for 2024-001-Event
2024-002-Event
2024-003-Event
2024 000 Events
2024-201-Event
etc.
Steps to Move the Pages
Open Bulk Move Pages
Navigate to the “2024 000 Events” page.
Open the Bulk Move Pages dialog.
Apply a Custom CQL
In the CQL field, enter the following query:
CODEtitle ~ "2024" AND title ~ "0*" AND parent = 54460432
This query filters only pages:
Titles containing “2024-0”
Direct child pages of “2024 000 Events”
Review and Confirm the Move
Click “Preview” to check the list of pages that match the filter.
Select the “2024” page under the "New Parent Page".
Once you have reviewed the list of pages to be moved, click "Move" to move the selected pages to the new parent page.
Refresh the page
Move any child pages that contain “2024-0” as direct children of “2024.”
Page Hierarchy before moving pages:
2024
2024 000 Events
2024-001-Event
Feedback for 2024-001-Event
Plan for 2024-001-Event
2024-002-Event
2024-003-Event
2024-201-Event
etc.
Page Hierarchy after moving pages:
2024
2024-001-Event
Feedback for 2024-001-Event
Plan for 2024-001-Event
2024-002-Event
2024-003-Event
2024 000 Events
2024-201-Event
etc.
Steps to Move the Pages
Open Bulk Move Pages
Navigate to the “2024 000 Events” page.
Open the Bulk Move Pages dialog.
Apply a Custom CQL
In the CQL field, enter the following query:
CODEtitle ~ "2024" AND title ~ "0*"
This query filters only pages:
Titles containing “2024-0”
Review and Confirm the Move
Click “Preview” to check the list of pages that match the filter.
The “Feedback for 2024-001-Event” and “Plan for 2024-001-Event” pages will be set as a child of the “2024” page.
If you don’t want to move these pages, please make sure to deselect the child pages. You can right-click and then select “Uncheck all the children”
Select the “2024” page under the "New Parent Page".
Once you have reviewed the list of pages to be moved, click "Move" to move the selected pages to the new parent page.
Refresh the page