Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Using CLI to move pages with specific label

daniel_hedberg August 29, 2016

Hello

Im trying to move to pages which have a specific label to a new parent page but i cant get the CLI to work correctly.


 When i run: confluence --action getPageList --labels functions "--action movePage --id @pageId@ --parent 6693337"

I get Error: Unknown flag 'action movePage --id @pageId@ --parent'.


Unsure of how to get it to work 

1 answer

0 votes
Bob Swift {Appfire}
Contributor
August 30, 2016

You have a syntax problem. You are missing the common parameter. You also need to use runFromPageList. Try something like:

confluence --action runFromPageList --labels functions --common "--action movePage --id @pageId@ --parent 6693337"

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events