Skip to main content
Skip table of contents

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

  1. Open Bulk Move Pages

    1. Navigate to the “2024 000 Events” page.

    2. Open the Bulk Move Pages dialog.

  2. Apply a Custom CQL

    1. In the CQL field, enter the following query:

      CODE
      title ~ "2024" AND title ~ "0*" AND parent = 54460432
    2. This query filters only pages:

      1. Titles containing “2024-0”

      2. Direct child pages of “2024 000 Events”

  3. Review and Confirm the Move

  4. Click “Preview” to check the list of pages that match the filter.

  5. Select the “2024” page under the "New Parent Page".

  6. Once you have reviewed the list of pages to be moved, click "Move" to move the selected pages to the new parent page.

  7. 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

  1. Open Bulk Move Pages

    1. Navigate to the “2024 000 Events” page.

    2. Open the Bulk Move Pages dialog.

  2. Apply a Custom CQL

    1. In the CQL field, enter the following query:

      CODE
      title ~ "2024" AND title ~ "0*"
    2. This query filters only pages:

      1. Titles containing “2024-0”

  3. Review and Confirm the Move

  4. 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”

  1. Select the “2024” page under the "New Parent Page".

  2. Once you have reviewed the list of pages to be moved, click "Move" to move the selected pages to the new parent page.

  3. Refresh the page

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.