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.

  • Your goal is to move only the pages whose titles start with “2024-0” to a new parent page named “2024”.

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

Example

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

JavaScript errors detected

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

If this problem persists, please contact our support.