Action Script Examples - Create template space script

Action

run

Description

Run a script that has both Jira and Confluence actions.

Command

acli bobswift9 -a run --field "name=Template" 
--input "-a addSpace --space @name@ --continue" 
--input "-a storePage --space @space@ --title \"Users Guide\" --parent @home --content {children}" 
--input "-a storePage --space @space@ --title \"Get Started\" --parent @pageId@ --content xxx" 
--input "-a storePage --space @space@ --title \"Administratorss Guide\" --parent @home --content {children}" 
--input "-a storePage --space @space@ --title \"Release Notes\" --parent @home --content {children}"

Run: -a addSpace --space Template --continue
Space with key Template already exists with name 'Template'. Ignore.

Run: -a storePage --space Template --title "User's Guide" --parent @home --content {children}
Page updated as 'User''s Guide' in space Template as child of 'Home'. Page has id 486801541.

Run: -a storePage --space Template --title "Get Started" --parent 486801541 --content xxx
Content has not changed. Page is 'Get Started' in space Template as child of 'User's Guide'. Page has id 486932490.

Run: -a storePage --space Template --title "Administrators's Guide" --parent @home --content {children}
Page updated as 'Administrators''s Guide' in space Template as child of 'Home'. Page has id 486932499.

Run: -a storePage --space Template --title "Release Notes" --parent @home --content {children}
Page updated as 'Release Notes' in space Template as child of 'Home'. Page has id 486801549.

Run completed successfully. 5 actions were successful from input parameters.