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