Page Routines
This section contains routines that enable users to handle pages.
Routines summary
- clonePage — Clones the page and returns the id of the cloned page. Takes page id to clone, new parent page id and new page title (title is optional).
- clonePageTree — Clones the page tree with its permissions.
- copyPageContent — Copies page content from one page to another.
- countPages — Returns the number of pages that matched the CQL search query.
- createPage — Creates an issue based on the provided arguments.
- deletePage — Deletes the selected page.
- deletePageTree — Deletes the selected page and all its child pages.
- getChildPages — Get the list of child pages (direct children) for a selected page.
- getPage — Retrieves a page ID by searching for space key and page title. The routine will return a -1 if the page is not found.
- getPages — Returns all descendants of a page (all levels, not only direct children) or a set of pages matching space key and title.
- getPageURL — Returns the URL of the page.
- movePage — Moves the selected page to a new parent page.
- pageExists — Verifies whether a given page is a registered Confluence page.
- selectPages — Returns an array with the IDs of the pages that match the search query.