Skip to end of banner
Go to start of banner

How to export pages with specific labels to PDF files using Confluence CLI

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This article explains how to export pages in confluence space having specific labels into PDF files using Confluence CLI.

Instructions

To export pages having a specific label

--action runFromPageList --labels "mylabels" --common " --action exportPage --id "@pageId@" --exportType "PDF" --file "@pageId@.pdf""


To export pages including subpages that have a specific label

--action runFromPageList --labels "mylabels" --common " --action exportSpace --space "@space@" --title \""@title@\"" --exportType "PDF" --file "@pageId@.pdf""

The parameters and actions used in the above command are:

  • No labels