Examples
- Bob Swift
- Automation User
- Bob Swift 2 [Bob Swift Atlassian Apps] (Unlicensed)
- Elena Amandola (Deactivated)
Action usage examples
Examples give users ideas on actual usage. We use automation to generate, test, and run these actions, so names and combinations may be odd or repetitive . In many cases, other actions or environmental setup is required for the action to run, so you will need to adjust the action parameters and setup appropriate for your environment.
Command line environments can be different, especially between Windows and non-Windows systems. Our Tips page talks about command line escaping differences and there are differences with respect to environment variable references ($ for non-Windows and %...% for Windows). These differences can impact examples, so recognize and adjust for your platform. In particular, all examples here are run with the standard bash shell on Linux.
addAttachment
--action addAttachment --space "zcliattachments" --title "@home" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/data.txt" --name "large.zip" |
--action addAttachment --space "zcliattachments" --title "@home" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/data.txt" --name "xxx.txt" --minor |
--action addAttachment --space "zcliattachments" --title "@home" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/empty.txt" |
--action addAttachment --space "zcliattachments" --title "attachment page" --content "attachment content" --name "data.txt" --comment "attachment comment" |
--action addAttachment --space "zcliattachments" --title "attachment page" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/binary.bin" |
--action addAttachment --space "zcliattachments" --title "attachment page" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/data.txt" --comment "attachment comment" --verbose |
--action addAttachment --space "zcliattachmentversions" --title "@home" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/picture.png" |
--action addAttachment --space "zcliattachmentversions" --title "@home" --name "hexFile" --encoding "hex_string" --file "-" |
--action addAttachment --space "zcliattachmentversions" --title "@home" --name "hexString" --encoding "hex_string" --content "\\x 31 32 33 34" |
--action addAttachment --space "zcliattachmentversions" --title "@home" --name "hexString2" --encoding "hex_string" --content "31323334" |
--action addAttachment --space "zcliattachmentversions" --title "@home" --name "remove.txt" --content "text - 1" --comment "version-1" |
--action addAttachment --space "zcliattachmentversions" --title "@home" --name "remove.txt" --content "text - 2" --comment "version-2" |
--action addAttachment --space "zcliattachmentversions" --title "history" --name "remove.txt" --labels "labels1 labels2" --content "text - 1" --comment "version-1" |
--action addAttachment --space "zcliattachmentversions" --title "history" --name "remove.txt" --labels "labels1 labels2" --content "text - 2" --comment "version-2" |
--action addAttachment --space "zcliattachmentversions" --title "history" --name "remove.txt" --labels "labels1 labels2" --content "text - 3" --comment "version-3" |
--action addAttachment --space "zcliattachmentversions" --title "history" --name "remove.txt" --labels "labels1 labels2" --content "text - 4" --comment "version-4" |
--action addAttachment --space "zcliattachmentversions" --title "history" --name "remove.txt" --labels "labels1 labels2" --content "text - 5" --comment "version-5" |
--action addAttachment --space "zcliattachmentversions" --title "history" --name "remove.txt" --labels "labels1 labels2" --content "text - 6" --comment "version-6" |
--action addAttachment --space "zcliblogs" --title "addBlog1" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/data.txt" --content "This is a test blog." --dayOfMonth 1 --month 2 --year 2023 |
--action addAttachment --space "zclipages" --title "This is title 0" --content "attachment content" --name "data.txt" |
--action addAttachment --space "zclishortcuts" --title "@home" --name "test.txt" --content "For shortcut to an attachment" |
--action addAttachment --space "zconfluencecli" --title "This is title 0" --content "attachment content" --name "data.txt" |
--action addAttachment --space "zexport" --title "@home" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/data.txt" |
--action addAttachment --space "zpublish" --title "@home" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/picture.png" |
addAttachments
--action addAttachments --space "zcliattachmentversions" --title "addAttachmentsPage" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources" --regex "recursive.*\\.txt" --recursive |
--action addAttachments --space "zcliattachmentversions" --title "addAttachmentsPage" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources" --regex "run.*\\.txt" --labels "labels1 labels2" |
--action addAttachments --space "zcliattachmentversions" --title "addAttachmentsPage" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources" --regex "xxxxxxxxx" |
--action addAttachments --space "zcliattachmentversions" --title "addAttachmentsPage" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/run.sql" --regex "run.*" --mime "sql" |
addBlog
--action addBlog --space "zcliblogs" --title "addBlog1" --content "This is a test blog." --content2 "link: [google|http://google.com]" --dayOfMonth 1 --month 2 --year 2023 --labels "blog" |
--action addBlog --space "zcliblogs" --title "addBlog1" --content "This is a test blog." --year 2010 |
--action addBlog --space "zconfluencecli" --title "addBlog1" --content "This is a test blog." |
addComment
--action addComment --id "553713784" --comment "Threaded comment" |
--action addComment --space "zcliblogs" --title "addBlog1" --comment "Test content with wiki (/)" --dayOfMonth 1 --month 2 --year 2023 |
--action addComment --space "zclipages" --title "@home" --comment "{info} Comment 1
* bullet 1 {info}" |
--action addComment --space "zconfluencecli" --title "This is title 0" --comment "Comment 2" |
addGroup
--action addGroup --group "testgroup1" |
addLabels
--action addLabels --labels "data2,txt2" --id "553714346" |
--action addLabels --space "zcliattachments" --title "attachment page" --name "data.txt" --labels "data,txt" |
--action addLabels --space "zclipages" --title "This is title 0" --labels "testLabel1, testLabel2" |
--action addLabels --space "zconfluencecli" --labels "cli, cli2" |
--action addLabels --space "zconfluencecli" --title "This is title 0" --labels "testLabel1, testLabel2" |
addPage
--action addPage --space "zclipages" --title "This is title 0" --content "This is a test page." --continue |
--action addPage --space "zclipages" --title "This is title 0" --content "This is a test page." --parent "Home" |
--action addPage --space "zclipermissions" --title "child1" --parent "children" |
--action addPage --space "zclipermissions" --title "child1-1" --parent "child1" |
--action addPage --space "zclipermissions" --title "child1-2" --parent "child1" |
--action addPage --space "zclipermissions" --title "child2" --parent "children" |
--action addPage --space "zclipermissions" --title "child2-1" --parent "child2" |
--action addPage --space "zclipermissions" --title "multipleUsers" --parent "@home" |
--action addPage --space "zconfluencecli" --title "This is title 0" --content "This is a test page." --parent "Home" |
addPermissions
--action addPermissions --permissions "edit" --group "confluence-administrators" --id "553714222" |
--action addPermissions --space "zclipermissions" --group "confluence-users" --permissions "viewspace,editspace,setpagepermissions,removepage,editblog,removeblog,comment,removecomment,createattachment,removeattachment,exportspace" |
--action addPermissions --space "zclipermissions" --id "553714180" --permissions "Edit, View" --userId "admin" |
--action addPermissions --space "zclipermissions" --title "children" --permissions "edit" --descendents --userId "automation" |
--action addPermissions --space "zclipermissions" --title "multipleUsers" --permissions "edit" --userId "admin,automation" |
--action addPermissions --space "zclipermissions" --userId "clipermissions" --permissions "@all" |
--action addPermissions --space "zclipermissions" --userId "clipermissions" --permissions "VIEWSPACE" |
--action addPermissions --space "zclipermissions2" --group "confluence-administrators" --permissions "viewspace,editspace,setpagepermissions,removepage,exportspace" |
--action addPermissions --space "zclipermissionsTarget308383" --userId "admin" --permissions "viewspace,editspace" |
--action addPermissions --space "zclispaces4" --permissions "@all" --group "confluence-administrators" |
--action addPermissions --space "zexport" --permissions "VIEWSPACE,EXPORTSPACE" --userId "user" |
--action addPermissions --space "zexport" --title "viewRestricted" --permissions "view" --userId "developer" |
addQuestion
--action addQuestion --title "zquestions_100 with some special characters < - + ( ) @ # $ & % ^ *" --topic "zquestions_1" --content "xxx" |
addQuestionWatch
--action addQuestionWatch --title "@ALL" |
--action addQuestionWatch --title "zquestions_100 with some special characters < - + ( ) @ # $ & % ^ *" |
addShortcut
--action addShortcut --space "zclishortcuts" --id "553713719" |
--action addShortcut --space "zclishortcuts" --name "Shortcut 1" --url "https://google.com" |
--action addShortcut --space "zclishortcuts" --title "@home" |
--action addShortcut --space "zclishortcuts" --url "https://google.com" |
addSpace
--action addSpace --home "My home" --userId "developer" --description "Space description YYY" |
--action addSpace --space "zclispaces4" --name "zclispaces with blueprint" --description "blueprint" --blueprint "Team space" |
--action addSpace --space "zconfluencecliExport" --continue |
addTopic
--action addTopic --name "zquestions_1" --replace |
--action addTopic --name "zquestions_2" --description "Some nice description" --featured --avatar "https://bobswift.atlassian.net/wiki/download/thumbnails/20054081/CLI-Icon-Round-72px.png" |
--action addTopic --name "zquestions_3" --description "Some nice description" --featured --avatar "https://bobswift.atlassian.net/wiki/download/thumbnails/20054081/CLI-Icon-Round-72px.png" |
--action addTopic --name "zquestions_Last" --replace |
addTopicWatch
--action addTopicWatch --topic "zquestions_1" |
addUser
--action addUser --userId "testuser1" --userFullName "Test User1" --userEmail "testuser1x@examplegear.com" --continue --userPassword "***" |
--action addUser --userId "testuser2" --userEmail "testuser2@examplegear.com" --continue --group "testgroup1" |
--action addUser --userId "testuser3" --userEmail "testuser3@examplegear.com" --continue |
--action addUser --userId "user encode" --userEmail "testuser1@examplegear.com" --userPassword "***" --continue |
addUserPicture
--action addUserPicture --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/picture.png" --userId "testuser2" |
addUserToGroup
--action addUserToGroup --userId "testuser3" --group "testgroup2" --autoGroup --verbose |
--action addUserToGroup --userId "testuser3" --group "testgroup2" --continue |
--action addUserToGroup --userId "user encode" --group "confluence-administrators" |
addWatch
--action addWatch --space "zcliwatch" |
--action addWatch --space "zcliwatch" --title "@home" --userId "user encode cli" --descendents |
--action addWatch --space "zcliwatch" --title "watch1" --userId "user encode cli" |
addWebhook
--action addWebhook --name "zwebhooks1" --events "page_created,page_deleted,page_updated" --url "https://examplegear.com/acli" |
--action addWebhook --name "zwebhooks1" --url "https://examplegear.com/acli" --events "BAD" |
--action addWebhook --name "zwebhooks2" --events "page_created,page_deleted,page_updated" --url "https://examplegear.com/acli" --options "disable" --options "secret=abcdefghi" |
convertToStorageFormat
--action convertToStorageFormat --content "{@macroName@:param1=xxxxx}bodyText{@macroName@}" --findReplace "@macroName@:wiki" |
--action convertToStorageFormat --content "{wiki:param1=xxxxx}" --file "-" --content2 "{wiki}" |
--action convertToStorageFormat --content "{wiki:param1=xxxxx}bodyText" --content2 "{wiki}" |
--action convertToStorageFormat --content "テストテスト
testtest
今日明日明後日
あああああ
testaaaaaaaaaaaaaaa
123456" |
--action convertToStorageFormat --space "zclimarkdown" --title "markdown" --markdown --content "[[home]] [[zclimarkdown:home]] [[aaa|zclimarkdown:home]] [[zclimarkdown:]] [[bbb|zclimarkdown:]] [[zzz|https://google.com]]
Special characters: !@#\$%^&*()_<>'. xxx@xxx.com other: “aaa” ’bbb‘ — – …
Special characters2: \" – — ‘ ’ “ ” ‹ › € " |
copyAttachment
--action copyAttachment --space "zcliattachmentversions" --title "@home" --name "picture.png" --newTitle "addAttachmentsPage" |
copyAttachments
--action copyAttachments --space "zcliattachmentversions" --title "@home" --newTitle "addAttachmentsPage" |
--action copyAttachments --space "zclispaces" --title "This is title" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newSpace "zclispacesTarget516427" --newTitle "This is a new title" --verbose --regex "data.*" |
--action copyAttachments --space "zclispaces" --title "This is title" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newSpace "zclispacesTarget965275" --newTitle "This is a new title" --verbose --regex "data.*" |
--action copyAttachments --targetServer "https://confluence.examplegear.com" --targetUser "automation" --id "553713791" --newSpace "zclispacesTarget965275" --newTitle "This is a new title" --regex "xxx.*" |
--action copyAttachments --targetServer "https://confluence.examplegear.com" --targetUser "automation" --id "553714366" --newSpace "zclispacesTarget516427" --newTitle "This is a new title" --regex "xxx.*" |
copyBlog
--action copyBlog --space "zcliblogs" --title "addBlog1" --newTitle "copyBlog1" --replace --dayOfMonth 1 --month 2 --year 2023 --toMonth 3 |
--action copyBlog --space "zcliblogs" --title "addBlog1" --newTitle "copyBlogRetainPostingDate" --replace --dayOfMonth 1 --month 2 --year 2023 --commentPrefix "Original creator: @creator@ <br/> Source space: @space@ <br/> Source title: @title@ <br/> Source time created: @createdTime@ <br/> " |
--action copyBlog --space "zcliblogs" --title "addBlog1" --newTitle "copyBlogWithCommentsAndAttachments" --replace --copyComments --copyAttachments --copyLabels |
copyComments
--action copyComments --space "zclipages" --title "@home" --newTitle "This is title 0" |
copyLabels
--action copyLabels --space "zclipages" --title "This is title 0" --newTitle "labels" |
copyPage
--action copyPage --id "553713903" --newTitle "This is a new title 3" --parent "@home" --replace |
--action copyPage --id "553713903" --newTitle "This is a new title 4" --parent "553713903" --replace |
--action copyPage --space "zcliattachments" --title "attachment page" --newTitle "attachment pagecopy" --copyAttachments --replace |
--action copyPage --space "zclipages" --title "@home" --newTitle "This is a new title 0" --continue |
--action copyPage --space "zclipages" --title "Home" --newSpace "zclipagesA" --newTitle "XXX" --parent "@home" --replace --children |
--action copyPage --space "zclipages" --title "Home" --newTitle "AAA@title@BBB" --parent "@home" --replace --descendents |
--action copyPage --space "zclipages" --title "Home" --newTitle "This is new title 1" --newSpace "zclipagesA" --parent "@home" --replace --descendents --copyAttachments --copyComments --copyLabels --copyPermissions |
--action copyPage --space "zclipages" --title "This is title 0" --newTitle "This is a new title 0" --parent "Home" --replace |
--action copyPage --space "zclipages" --title "This is title 0" --newTitle "labels" --parent "@home" --content "Page for labels" --replace |
--action copyPage --space "zclipages" --title "This is title 0" --newTitle "newReplace" --replaceTitle "replace" --replace |
--action copyPage --space "zclipages" --title "template" --newTitle "template copy" --parent "template" --findReplace "\$VAR1\$#value for variable 1" --findReplace "%VAR2%#value for variable 2" --findReplace "(VAR3)#value for variable 3" --special " #" --replace |
--action copyPage --space "zclipermissions" --title "children" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newSpace "zclipermissionsTarget308383" --copyPermissions --replace --children --verbose |
--action copyPage --space "zclispaces" --title "This is title" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newTitle "This is a new title" --newSpace "zclispacesTarget516427" --replace --copyAttachments --copyComments --copyLabels --commentPrefix "Creator: @creator@, space: @space@, title: @title@, time: @createdTime@" --noConvert |
--action copyPage --space "zclispaces" --title "This is title" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newTitle "This is a new title" --newSpace "zclispacesTarget965275" --replace --copyAttachments --copyComments --copyLabels --commentPrefix "Creator: @creator@, space: @space@, title: @title@, time: @createdTime@" --noConvert |
--action copyPage --space "zmisc" --title "csoap-523" --newTitle "csoap-523 copy" --parent "@home" --replace --topic "rest" |
copyPageChildren
--action copyPageChildren --id "553713903" --newTitle "This is a new title 4" --parent "553713903" --replace |
--action copyPageChildren --space "zclipages" --title "Home" --newSpace "zclipagesA" --parent "This is a new title 2" --replace --descendents --copyComments --copyLabels |
--action copyPageChildren --space "zclipagesh1" --title "AAA" --newSpace "zclipagesh2" --replace |
copyPermissions
--action copyPermissions --space "zclipermissions" --newSpace "zclipermissions2" |
--action copyPermissions --space "zclipermissions" --newSpace "zclipermissions2" --append |
--action copyPermissions --space "zclipermissions" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newSpace "zclipermissionsTarget308383" |
--action copyPermissions --space "zclipermissions" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newSpace "zclipermissionsTarget308383" --mergePermissions |
--action copyPermissions --space "zclipermissions" --title "children" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newSpace "zclipermissionsTarget308383" |
copySpace
--action copySpace --space "zclipermissions" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newSpace "zclipermissionsAnotherTarget308383" --name "zclipermissionsAnotherTarget308383" --description "copied space" --replace --verbose --copyPermissions --mergePermissions |
--action copySpace --space "zclipermissions" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newSpace "zclipermissionsTarget308383" --name "zclipermissionsTarget308383" --description "copied space" --replace --descendents |
--action copySpace --space "zclispaces" --newSpace "zclispaces3" --copyCategories --description "copied space" |
--action copySpace --space "zclispaces" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newSpace "zclispaces3Target516427" --continue --replace |
--action copySpace --space "zclispaces" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newSpace "zclispaces3Target516427" --name "zclispaces3Target516427" --description "new description" --replace --copyBlogs --copyAttachments --copyComments --copyLabels |
--action copySpace --space "~developer" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --replace |
exportData
--action exportData --space "zexport" --exportType "groups" |
--action exportData --space "zexport" --exportType "participants" |
--action exportData --space "zexport" --exportType "users" --limit 55 |
--action exportData --space "zexport" --exportType "users" --options "includeGroups" --limit 55 |
--action exportData --space "zexport" --exportType "users" --regex "(?i).*developer.*" |
--action exportData --space "zexport" --file "build/output/export/exportDataSpace.txt" |
exportPage
--action exportPage --file "build/output/cliblogs" --id "553714000" --options "addAttachment" |
--action exportPage --space "zcliblogs" --title "addBlog1" --file "build/output/cliblogs" --dayOfMonth 1 --month 2 --year 2023 |
--action exportPage --space "zexport" --title "@home" --file "." |
--action exportPage --space "zexport" --title "@home" --file "@default" |
--action exportPage --space "zexport" --title "@home" --file "@default" --options "addAttachment" |
--action exportPage --space "zexport" --title "@home" --file "@default" --options "addAttachment" --newSpace "zconfluencecliExport2" |
--action exportPage --space "zexport" --title "@home" --file "build/output/export" --children |
--action exportPage --space "zexport" --title "@home" --file "build/output/export" --options "addAttachment" |
--action exportPage --space "zexport" --title "@home" --file "build/output/export" --options "addAttachment" --children |
--action exportPage --space "zexport" --title "Special: &" --file "build/output/export" |
--action exportPage --space "zexport" --title "viewRestricted" --file "build/output/export" --descendents |
--action exportPage --space "zexport" --title "viewRestricted" --file "build/output/export/exportPage.pdf" |
exportSpace
--action exportSpace --space "zconfluencecliExport" --file "build/output/export/exportSpace.zip" |
--action exportSpace --space "zexport" --file "build/output/export/exportSpaceHtml.zip" --exportType "HTML" |
--action exportSpace --space "zexport" --file "build/output/export/exportSpaceXml.zip" |
--action exportSpace --space "zexport" --file "build/output/export/exportSpaceXml.zip" --options "useUIApi" |
--action exportSpace --space "zexport" --file "build/output/export/exportSpacepdf.txt" --exportType "PDF" |
--action exportSpace --space "zexport" --title "@home" --file "build/output/export/exportSpacepageHierarchypdf.txt" --exportType "PDF" --options "addPageNumbers" |
getApp
--action getApp --app "@default" |
--action getApp --app "org.swift.confluence.html" |
getApplicationLinkList
--action getApplicationLinkList |
--action getApplicationLinkList --outputFormat 999 |
getAttachment
--action getAttachment --file "build/output/cliattachments/binary.bin" --id "553714345" |
--action getAttachment --space "zcliattachments" --title "@home" --file "build/output/cliattachments/large.zip" --name "553714351" |
--action getAttachment --space "zcliattachments" --title "attachment page" --file "build/output/cliattachments/getAttachmentWithVersion.txt" --name "data.txt" --version 1 |
--action getAttachment --space "zcliattachments" --title "attachment pagecopy" --file "build/output/cliattachments/data.txt" |
--action getAttachment --space "zcliattachmentversions" --title "@home" --name "hexFile" --file "-" --quiet |
--action getAttachment --space "zcliattachmentversions" --title "@home" --name "hexString" --file "-" |
--action getAttachment --space "zcliattachmentversions" --title "@home" --name "hexString2" --file "-" |
--action getAttachment --space "zclipagesA" --title "This is title 0" --file "build/output/clipages/data.txt" |
getAttachmentList
--action getAttachmentList --cql "space=zcliattachments and title='attachment page'" --outputFormat 2 |
--action getAttachmentList --id "553714345" --outputFormat 1 |
--action getAttachmentList --id "553714345" --outputFormat 2 |
--action getAttachmentList --space "@all" --limit 10 --outputFormat 1 |
--action getAttachmentList --space "zcliattachments" --outputFormat 1 |
--action getAttachmentList --space "zcliattachments" --outputFormat 2 |
--action getAttachmentList --space "zcliattachments" --outputFormat 2 --regex ".*attachment comment.*" |
--action getAttachmentList --space "zcliattachments" --outputFormat 2 --regex ".*data\\..*" |
--action getAttachmentList --space "zcliattachments" --outputFormat 2 --regex ".*xxxxxxxxxx.*" |
--action getAttachmentList --space "zcliattachments" --title "attachment page" --outputFormat 1 |
--action getAttachmentList --space "zcliattachmentversions" --title "@home" --regex "remove.txt" |
--action getAttachmentList --space "zcliattachmentversions" --title "addAttachmentsPage" --outputFormat 1 --columns "Title,Id,Created,Content Type" --dateFormat "yyyy-MM-dd HH:mm:ss.mmm" |
--action getAttachmentList --space "zclispaces3Target516427" --title "This is title" |
--action getAttachmentList --space "zclispaces3Target516427" --title "This is title" --outputFormat 1 |
--action getAttachmentList --space "zclispacesTarget516427" --title "This is a new title" --outputFormat 1 |
--action getAttachmentList --space "zclispacesTarget965275" --title "This is a new title" --outputFormat 1 |
getAttachmentVersionList
--action getAttachmentVersionList --space "zcliattachmentversions" --title "@home" --outputFormat 1 --name "bulk.txt" |
--action getAttachmentVersionList --space "zcliattachmentversions" --title "history" --name "remove.txt" --outputFormat 1 --dateFormat "yyyy-MM-dd HH:mm:ss.S" |
getAuditLogList
--action getAuditLogList --options "search=Spaces" --dateFormat "yyyy-MM-dd_HH:mm" |
getBlogList
--action getBlogList --space "zcliblogs" --outputFormat 1 |
--action getBlogList --space "zcliblogs" --outputFormat 999 --dateFormat "yyyy-MM-dd" |
--action getBlogList --space "zclipermissions" --outputFormat 1 |
--action getBlogList --space "zclispaces3Target516427" --dateFormat "yyyy-MM-dd" --columns "created,url" --outputType "text" |
getBlogSource
--action getBlogSource --id "553714000" |
--action getBlogSource --space "zcliblogs" --title "addBlog1" --dayOfMonth 1 --month 2 --year 2023 |
getClientInfo
--action getClientInfo |
getCommentList
--action getCommentList --space "zconfluencecli" --title "This is title 0" |
--action getCommentList --space "zconfluencecli" --title "This is title 0" --dateFormat "yyyy-MM-dd HH:mm:ss" --outputFormat 1 |
--action getCommentList --space "zconfluencecli" --title "This is title 0" --dateFormat "yyyy-MM-dd HH:mm:ss" --outputFormat 2 |
--action getCommentList --space "zconfluencecli" --title "This is title 0" --dateFormat "yyyy-MM-dd HH:mm:ss" --outputFormat 2 --regex ".*?Comment 2.*?" |
getComments
--action getComments --space "zclipagesA" --title "This is title 0" --dateFormat "yyyy.MM.dd HH:mm:ss z" |
--action getComments --space "zclispacesTarget516427" --title "This is a new title" |
--action getComments --space "zclispacesTarget965275" --title "This is a new title" |
getContent
--action getContent --id "553714346" |
getContentHistoryList
--action getContentHistoryList --id "553713740" --dateFormat "yyyy-MM-dd" --outputFormat 999 |
--action getContentHistoryList --id "553714078" --dateFormat "yyyy-MM-dd HH:mm:ss.S" |
--action getContentHistoryList --id "553714078" --dateFormat "yyyy-MM-dd" |
--action getContentHistoryList --space "zcliblogs" --title "addBlog2" --dayOfMonth 1 --month 2 --year 2023 --dateFormat "yyyy-MM-dd" |
--action getContentHistoryList --space "zhistory" --title "history" --date "2024-12-03 17:01:39.259" --dateFormat "yyyy-MM-dd HH:mm:ss.S" |
--action getContentHistoryList --space "zhistory" --title "history" --dateFormat "yyyy-MM-dd HH:mm:ss.S" |
--action getContentHistoryList --space "zhistory" --title "history" --dateFormat "yyyy-MM-dd" --regex "(?i).*automation.*" |
--action getContentHistoryList --space "zhistory" --title "history" --dateFormat "yyyy-MM-dd" --regex "xxx" |
--action getContentHistoryList --space "zhistory" --title "history" --regex2 ".*for: ((1)|(2)).*" --outputFormat 999 --dateFormat "yyyy-MM-dd" |
getContentList
--action getContentList --cql "type=page and space=EXPERIMENT" --limit 25 --dateFormat "yyyy-MM-dd" |
--action getContentList --file "build/output/search/getContentListCqlAllPages.txt" --cql "type=page" --dateFormat "yyyy-MM-dd" --limit 500 |
getGroupList
--action getGroupList |
--action getGroupList --regex "testgroup1" |
--action getGroupList --userId "@self" --outputType "text" |
--action getGroupList --userId "testuser3" |
getLabelList
--action getLabelList --cql "space=zcliattachments and type=attachment and title='data.txt'" --outputFormat 999 |
--action getLabelList --cql "space=zclipages and title='This is title 0'" --outputFormat 999 |
--action getLabelList --id "553713846" --outputFormat 999 |
--action getLabelList --id "553714346" --outputFormat 999 |
--action getLabelList --labels "testlabel1" --regex "testlabel.*" --limit 1 |
--action getLabelList --space "zclipages" |
--action getLabelList --space "zclipages" --labels "testlabel1" |
--action getLabelList --space "zclipages" --recentlyUsed |
--action getLabelList --space "zclipages" --title "This is title 0" |
--action getLabelList --space "zclipages" --title "labels" |
--action getLabelList --space "zconfluencecli" --title "This is title 0" |
--action getLabelList --space "zconfluencecli" --title "This is title 0" --outputFormat 999 |
getPage
--action getPage --id "553713780" --options "status=trashed" --outputFormat 1 |
--action getPage --space "zclipages" --title "@home" --outputFormat 2 |
--action getPage --space "zclipages" --title "This is title 0" --outputFormat 1 |
--action getPage --space "zclipages" --title "This is title 1" |
--action getPage --space "zclipages" --title "xxx.,<>_|~!{}[]=//&*%-+'" |
--action getPage --space "zclipages2" --title "title6" |
--action getPage --space "zclipages2A" --title "title5" |
--action getPage --space "zclipermissions" --title "children" |
--action getPage --space "zconfluencecli" --title "@home" --outputFormat 1 |
getPageList
--action getPageList --cql "space=zclipages" |
--action getPageList --cql "space=zclipages" --labels "NOT_FOUND" --outputFormat 3 |
--action getPageList --cql "space=zclipages" --outputFormat 3 --regex "(?i)Home" --regex2 "(?s).*This is a test page..*" |
--action getPageList --cql "space=zclipages" --outputFormat 998 --limit 1 |
--action getPageList --cql "space=zclipages" --outputFormat 999 |
--action getPageList --cql "space=zclipages4 order by title" |
--action getPageList --id "553713939" --descendents |
--action getPageList --labels "testLabel" --outputFormat 3 |
--action getPageList --space "zclipages" --id "553713939" |
--action getPageList --space "zclipages" --labels "testLabel" |
--action getPageList --space "zclipages" --outputFormat 2 --regex "(?i)Home" --regex2 "NOT_FOUND" |
--action getPageList --space "zclipages" --parent "@home" --descendents --outputFormat 2 --columns "title,parent id" |
--action getPageList --space "zclipages" --parent "@home" --outputFormat 2 --columns "title,parent id" |
--action getPageList --space "zclipages" --regex "AAA.*BBB|Home|This is title 0" --outputFormat 2 |
--action getPageList --space "zclipages" --regex "This .*" |
--action getPageList --space "zclipages" --regex "copyhierarchy.*" |
--action getPageList --space "zclipages" --title "@home" |
--action getPageList --space "zclipages" --title "This is title 1" --children |
--action getPageList --space "zclipages" --title "This is title 1" --children --labels "not_found , xxxx" |
--action getPageList --space "zclipages" --title "This is title 1" --children --outputFormat 2 --dateFormat "yyyy-MM-dd" |
--action getPageList --space "zclipages" --title "This is title 1" --descendents --columns "3, title, space" --outputFormat 999 --dateFormat "yyyy-MM-dd" |
--action getPageList --space "zclipages2" --outputFormat 998 --columns "title,position" |
--action getPageList --space "zclipages4" --limit 1 --dateFormat "yyyy-MM-dd" --outputFormat 2 --outputType "text" --columns 5 --append --quiet |
--action getPageList --space "zclipagesh1" --title "AAA" --descendents |
--action getPageList --space "zclipermissions" --title "@home" --descendents --outputFormat 2 |
--action getPageList --space "zclipermissionsAnotherTarget308383" --outputFormat 2 |
--action getPageList --space "zclispaces3" --outputFormat 2 |
--action getPageList --space "zclispacesTarget516427" --title "This is a new title" --file "build/output/clispaces/getPageListTargetServer.txt" |
getPageSource
--action getPageSource --id "553714029" |
--action getPageSource --space "zclimarkdown" --title "markdown readme with toc" --file "build/output/climarkdown/getPageSourceToc.txt" |
--action getPageSource --space "zclimarkdown" --title "markdown readme" --file "build/output/climarkdown/getPageSourceMarkdownReadme.txt" |
--action getPageSource --space "zclimarkdown" --title "markdown" |
--action getPageSource --space "zclipages" --title "This is title 1" --file "build/output/clipages/getPageSource.txt" |
--action getPageSource --space "zclipages" --title "This is title 8" --file "build/output/clipages/getPageSourceFromStandardInput.txt" --quiet |
--action getPageSource --space "zclipages" --title "roundTrip" --file "build/output/clipages/getPageSourceRoundTrip.txt" |
--action getPageSource --space "zclipages" --title "roundTrip" --file "build/output/clipages/getPageSourceRoundTrip2.txt" |
--action getPageSource --space "zclipages" --title "template copy" |
--action getPageSource --space "zclipagesA" --title "This is title 0" |
--action getPageSource --space "zconfluencecli" --title "This is title 7" |
--action getPageSource --space "zconfluencecli" --title "This is title 7" --quiet |
--action getPageSource --space "zmisc" --title "ampersand2" |
--action getPageSource --space "zmisc" --title "csoap-523 copy" |
--action getPageSource --space "zpublish" --title "doctype" |
--action getPageSource --space "zpublish" --title "image" |
--action getPageSource --space "zpublish" --title "published2" |
--action getPageSource --space "zpublish" --title "published3" |
--action getPageSource --space "zpublish" --title "publishedAfterConvertCsv" |
--action getPageSource --space "zpublish" --title "publishedCsvAutoNumber" |
--action getPageSource --space "zpublish" --title "publishedCsvMultiple" |
--action getPageSource --space "zpublish" --title "publishedDocumentation" --file "build/output/publish/getPageSourceDocumentation.txt" |
--action getPageSource --space "zpublishTarget249945" --title "publishedFromContent" |
--action getPageSource --space "zpublishTarget249945" --title "publishedFromSource" |
--action getPageSource --space "zpublishTarget249945" --title "publishedReplace" |
--action getPageSource --space "zpublishTarget249945" --title "publishedTargetRendering" |
getPermissionList
--action getPermissionList |
--action getPermissionList --space "zclipages" --title "PPP" |
--action getPermissionList --space "zclipages" --title "PPP1" |
--action getPermissionList --space "zclipermissions" |
--action getPermissionList --space "zclipermissions" --id "553714180" |
--action getPermissionList --space "zclipermissions" --title "children" --outputFormat 2 |
--action getPermissionList --space "zclipermissions" --title "children" --outputFormat 2 --descendents |
--action getPermissionList --space "zclipermissionsAnotherTarget308383" --title "editRestricted" |
--action getPermissionList --space "zclipermissionsTarget308383" --title "children" |
--action getPermissionList --space "zclipermissionsTarget308383" --title "children" --outputFormat 999 |
--action getPermissionList --space "zclipermissionsTarget308383" --title "editRestricted" |
getQuestion
--action getQuestion --id "553713846" |
--action getQuestion --title "zquestions_100 with some special characters < - + ( ) @ # $ & % ^ *" --dateFormat "yyyy-MM-dd" |
getQuestionList
--action getQuestionList |
--action getQuestionList --filter "recent" --topic "zquestions_1" --dateFormat "yyyy-MM-dd" --outputFormat "999" |
getServerInfo
--action getServerInfo |
--action getServerInfo --outputFormat 2 --dateFormat "yyyy-MM-dd HH:mm" |
--action getServerInfo --outputFormat 999 |
--action getServerInfo --user "anonymous" |
--action getServerInfo --user "testuser1" --password "***" |
getShortcutList
--action getShortcutList --space "zclishortcuts" |
--action getShortcutList --space "zclishortcuts" --options "main" |
--action getShortcutList --space "zclishortcuts" --options "quick" |
--action getShortcutList --space "zclishortcuts" --regex "/display/.*?/Home" |
getSource
--action getSource --space "zcliexamples" --title "csoap-234" |
--action getSource --space "zcliexamples" --title "page2" --findReplace "2:two" |
--action getSource --space "zcliexamples" --title "page5" --special " #" --findReplaceRegex "(?s).*?(http[s]{0,1}://[./a-z]+)#\$1," --findReplaceRegex "(?s)((http[s]{0,1}://[./a-z]+,)*).*#\$1" |
--action getSource --space "zcliexamples" --title "page5" --special " #" --findReplaceRegex "(?s).*?href=\"(http[s]{0,1}://[./a-z]+)#\$1 \\n " --findReplaceRegex "(?s)(((http[s]{0,1}://[./a-z]+)\\s)*).*#\$1" |
--action getSource --space "zcliexamples" --title "page5" --special " #" --findReplaceRegex "(?s).*?href=\"(http[s]{0,1}://[./a-z]+)#\$1," --findReplaceRegex "(?s)((http[s]{0,1}://[./a-z]+,)*).*#\$1" |
--action getSource --space "zclipages" --title "@home" --type "view" |
--action getSource --space "zclipagesh2" --title "aa1:yyy" |
getSpace
--action getSpace --space "ZCLISPACES" |
--action getSpace --space "zclispaces3" |
--action getSpace --space "zclispaces3Target516427" |
--action getSpace --space "zclispacesTarget516427" |
--action getSpace --space "zclispacesTarget965275" |
--action getSpace --space "~developer" |
getSpaceList
--action getSpaceList --file "build/output/clispaces/getSpaceListLimit.txt" --limit 1 --outputFormat 1 --personal |
--action getSpaceList --outputFormat 1 |
--action getSpaceList --regex "zclispaces" --outputFormat 1 |
--action getSpaceList --regex2 ".*cli.*" --outputFormat 1 --debug --limit 2 |
getSpacePermissionList
--action getSpacePermissionList --regex "zclipermissions" --columns "1,4,5,6,7,8,9,10" --outputType "text" |
--action getSpacePermissionList --space "zclipermissions" |
--action getSpacePermissionList --space "zclipermissions" --columns "Id Type, Id, Space Export, Restrictions, View" --outputType "text" |
--action getSpacePermissionList --space "zclipermissions" --columns "Id Type, Id, Space Export, Restrictions, View, Pages Add, Pages Delete" --outputType "text" |
--action getSpacePermissionList --space "zclipermissions2" |
--action getSpacePermissionList --space "zclipermissionsAnotherTarget308383" --columns "-pagesarchive" |
--action getSpacePermissionList --space "zclipermissionsTarget308383" |
--action getSpacePermissionList --space "zclipermissionsTarget308383" --columns "-pagesarchive" |
getTopic
--action getTopic --name "zquestions_2" |
--action getTopic --topic "zquestions_1" |
getTopicList
--action getTopicList |
--action getTopicList --regex ".*zquestions_3" |
--action getTopicList --regex "xxxxxxxx" |
getTrashList
--action getTrashList --space "zclitrash" |
getUser
--action getUser |
--action getUser --outputType "json" |
--action getUser --outputType "text" |
--action getUser --userId "testuser1" |
getUserList
--action getUserList |
--action getUserList --group "testgroup2" |
--action getUserList --group "testgroup2" --outputFormat 2 --limit 500 |
--action getUserList --outputFormat 2 --limit 500 |
--action getUserList --outputFormat 999 --limit 500 |
getWatchList
--action getWatchList --space "zcliwatch" |
--action getWatchList --space "zcliwatch" --title "watch1" |
--action getWatchList --space "zcliwatch" --title "watch1" --verbose |
--action getWatchList --space "zcliwatch" --title "watch2" |
--action getWatchList --space "zcliwatch" --title "watch2" --outputFormat 999 |
getWebhookList
--action getWebhookList --dateFormat "yyyy-mm-dd" |
hideShortcut
--action hideShortcut --space "zclishortcuts" --name "Blog" |
installApp
--action installApp --app "@default" --simulate |
loadFiles
--action loadFiles --space "zmisc" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources" --replace --continue |
--action loadFiles --space "zmisc" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources" --replace --continue --options "autoPage=" |
--action loadFiles --space "zmisc" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources" --title "resources2" --replace --noConvert --continue |
login
--action login |
logout
--action logout |
modifyBlog
--action modifyBlog --id "553714000" --comment "modify blog by id" --findReplace "blog:blog modified" |
--action modifyBlog --space "zcliblogs" --title "addBlog2" --dayOfMonth 1 --month 2 --year 2023 --comment "modify blog" --findReplace "Updated:Updated by modify." |
modifyPage
--action modifyPage --id "553714029" --findReplace "http://www.test.com:8888/jira>http://jira.test.com:8888" --special ",>" |
--action modifyPage --space "zcliexamples" --title "csoap-234" --special " # ~" --findReplaceRegex "(ri:content-title\\s*=~[^~]*)~(.*?>)#\$1 - xxx~\$2" |
--action modifyPage --space "zclimarkdown" --title "markdown readme with toc" --content "{toc}
" |
--action modifyPage --space "zclimarkdown" --title "markdown" --markdown --content2 "#Text appended to the end." |
--action modifyPage --space "zclimodify" --title "@home" |
--action modifyPage --space "zclimodify" --title "MODIFY" --content "<ac:structured-macro ac:name='~unmigrated-inline-wiki-markup'><ac:parameter ac:name='atlassian-macro-output-type'>BLOCK</ac:parameter><ac:plain-text-body><![CDATA[{wiki:param1=xxxxx}bodyText{wiki}]]></ac:plain-text-body></ac:structured-macro>" --noConvert |
--action modifyPage --space "zclimodify" --title "modify" --findReplace "content:contentXXX" --findReplace "before:beforeXXX" --findReplaceRegex "(a )(test)(.*):\$1\$3#\$2#" |
--action modifyPage --space "zmisc" --title "ampersand" --findReplace "XXX:&" |
movePage
--action movePage --id "553714337" --parent "title3" |
--action movePage --space "zclipages2" --title "title4" --parent "title3" |
--action movePage --space "zclipages2" --title "title5" --newSpace "zclipages2A" --parent "@home" |
--action movePage --space "zclipages2" --title "title5" --newSpace "zclipages2A" --parent "NOT_FOUND" --continue |
--action movePage --space "zclipages2" --title "title6" --newSpace "zclipages2" |
--action movePage --space "zclipages2" --title "title6" --referencePage "@home" --position "above" |
--action movePage --space "zclipages2" --title "title6" --referencePage "@home" --position "below" |
moveShortcut
--action moveShortcut --space "zclishortcuts" --name "Blog" --position "@first" |
--action moveShortcut --space "zclishortcuts" --name "Blog" --position "Pages" |
--action moveShortcut --space "zclishortcuts" --name "test.txt" --position "Home" |
publishPage
--action publishPage --space "zpublish" --newTitle "doctype" --parent "@home" --replace --content "{html:tidy=true} <b>This is a test</b> <br> Another line. {html}" |
--action publishPage --space "zpublish" --newTitle "doubledash" --parent "@home" --replace --content "{html} :---|:---:|--: {html} :---|:---:|--: " |
--action publishPage --space "zpublish" --newTitle "image" --parent "@home" --replace --content "!home^picture.png!" |
--action publishPage --space "zpublish" --newTitle "publishedCsvAutoNumber" --options "convertCsv" --replace --content "-" |
--action publishPage --space "zpublish" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newTitle "publishedFromContent" --newSpace "zpublishTarget249945" --replace --content "-" |
--action publishPage --space "zpublish" --title "@home" --newTitle "published" --replace |
--action publishPage --space "zpublish" --title "@home" --targetServer "confluence30" --newTitle "published" --newSpace "experiment" --parent "@home" --replace |
--action publishPage --space "zpublish" --title "@home" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newTitle "published" --newSpace "zpublishTarget249945" --replace |
--action publishPage --space "zpublish" --title "forConvertCsv" --newTitle "publishedAfterConvertCsv" --parent "@home" --replace --options "convertCsv" --targetServer "" |
--action publishPage --space "zpublish" --title "forCsvMultiple" --newTitle "publishedCsvMultiple" --parent "@home" --options "convertCsv" --replace |
--action publishPage --space "zpublish" --title "publishedDocumentation" --parent "@home" --options "convertCsv,renderOnTarget,debug" --comment "Publish page with csv conversion to native" --minor --replace --content "BEFORE
h3. On this page
{toc:type=flat|separator=pipe|maxLevel=1}
" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/reference.txt" --content2 "
AFTER" |
--action publishPage --space "zpublish" --title "source" --newTitle "published2" --replace --findReplaceRegex "(?s)</*div.*?>:" --findReplaceRegex "(?s)<input .*?</script>:" --verbose |
--action publishPage --space "zpublish" --title "source" --newTitle "published3" --replace |
--action publishPage --space "zpublish" --title "source" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newSpace "zpublishTarget249945" --newTitle "publishedReplace" --replace --content "-" |
--action publishPage --space "zpublish" --title "source" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newTitle "publishedFromSource" --newSpace "zpublishTarget249945" --replace |
--action publishPage --space "zpublish" --title "source" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newTitle "publishedTargetRendering" --newSpace "zpublishTarget249945" --replace --options "renderOnTarget" |
removeAttachmentVersion
--action removeAttachmentVersion --space "zcliattachmentversions" --title "@home" --name "remove.txt" --version 1 |
--action removeAttachmentVersion --space "zcliattachmentversions" --title "@home" --name "remove.txt" --version 2 |
--action removeAttachmentVersion --space "zcliattachmentversions" --title "history" --name "remove.txt" --version 1 |
--action removeAttachmentVersion --space "zcliattachmentversions" --title "history" --name "remove.txt" --version 2 |
removeAttachmentVersions
--action removeAttachmentVersions --space "zcliattachmentversions" --title "@home" --name "bulk.txt" --regex "version-\\d+" --limit 2 --date "2029-01-01" |
--action removeAttachmentVersions --space "zcliattachmentversions" --title "history" --name "remove.txt" --date "2024-12-03 16:56:44.149" --dateFormat "yyyy-MM-dd HH:mm:ss.S" --limit 999 --simulate --columns "selected,by date,by limit,by comment,just 1,attachment title,version number,created" --outputType "table" --options "screenWidth=132" |
--action removeAttachmentVersions --space "zcliattachmentversions" --title "history" --name "remove.txt" --date "2024-12-03 16:56:44.149" --dateFormat "yyyy-MM-dd HH:mm:ss.S" --regex "version-.*" --simulate --outputFormat 1 |
--action removeAttachmentVersions --space "zcliattachmentversions" --title "history" --name "remove.txt" --limit 3 |
--action removeAttachmentVersions --space "zcliattachmentversions" --title "history" --name "remove.txt" --limit 99999 |
--action removeAttachmentVersions --space "zcliattachmentversions" --title "history" --name "remove.txt" --options "just1=day" --options "screenWidth=132" --dateFormat "yyyy-MM-dd HH:mm:ss.S" --simulate --columns "selected,by date,by limit,by comment,just 1,attachment title,version number,created" --outputType "table" |
--action removeAttachmentVersions --space "zcliattachmentversions" --title "history" --name "remove.txt" --options "just1=week" --options "screenWidth=132" --dateFormat "yyyy-MM-dd HH:mm:ss.S" --simulate --columns "selected,by date,by limit,by comment,just 1,attachment title,version number,created" --outputType "table" |
--action removeAttachmentVersions --space "zcliattachmentversions" --title "history" --outputFormat 1 --name "remove.txt" --limit 3 --dateFormat "yyyy-MM-dd HH:mm:ss.S" --simulate |
removeBlog
--action removeBlog --space "zcliblogs" --title "addBlog1" --dayOfMonth 1 --month 2 --year 2023 |
removeComment
--action removeComment --id "553713911" --descendents |
removeComments
--action removeComments --space "zconfluencecli" --title "This is title 0" |
removeContentVersion
--action removeContentVersion --space "zhistory" --title "history" --version 1 |
--action removeContentVersion --space "zhistory" --title "history" --version 2 |
removeContentVersions
--action removeContentVersions --space "zhistory" --title "history" --date "2024-12-03 17:01:39.259" --dateFormat "yyyy-MM-dd HH:mm:ss.S" |
--action removeContentVersions --space "zhistory" --title "history" --limit 3 |
--action removeContentVersions --space "zhistory" --title "history" --limit 3 --simulate --columns "selected,by date,by limit,by comment,just 1,title,version,modified,minor edit,message" --outputType "table" --dateFormat "yyyy-MM-dd" |
--action removeContentVersions --space "zhistory" --title "history" --limit 3 --simulate --regex "" |
removeGroup
--action removeGroup --group "NOT_FOUND" --continue |
--action removeGroup --group "testgroup1" |
--action removeGroup --group "testgroup2" |
removeLabels
--action removeLabels --labels "data, txt" --id "553714346" |
--action removeLabels --space "zconfluencecli" --title "This is title 0" --labels "testLabel1, testLabel2" |
removePage
--action removePage --id "553713780" |
--action removePage --id 999999 --continue |
--action removePage --space "zcliattachmentversions" --title "history" --continue |
--action removePage --space "zclipages2" --title "title1" |
--action removePage --space "zhistory" --title "history" --continue |
removePermissions
--action removePermissions --space "zclipages" --title "PPP" --permissions "@all" --descendents |
--action removePermissions --space "zclipages" --title "PPP" --permissions "edit" --descendents |
--action removePermissions --space "zclipermissions" --group "confluence-users" --permissions "SETSPACEPERMISSIONS,REMOVEMAIL,REMOVEOWNCONTENT" |
--action removePermissions --space "zclipermissions" --id "553714180" --permissions "@all" |
--action removePermissions --space "zclipermissions" --id "553714180" --permissions "Edit" --userId "admin" |
--action removePermissions --space "zclipermissions" --id "553714180" --permissions "View" --userId "admin" |
--action removePermissions --space "zclipermissions" --title "multipleUsers" --permissions "edit" --userId "admin,automation" |
--action removePermissions --space "zclipermissions" --title "multipleUsers" --permissions "edit" --userId "automation," |
--action removePermissions --space "zclipermissions" --userId "clipermissions" --permissions "@all" |
--action removePermissions --space "zclipermissions" --userId "clipermissions" --permissions "EXPORTSPACE" |
--action removePermissions --space "zclipermissions" --userId "clipermissions" --permissions "setpagepermissions" --options "skipValidation" |
removeQuestionWatch
--action removeQuestionWatch --title "@all" |
--action removeQuestionWatch --title "zquestions_100 with some special characters < - + ( ) @ # $ & % ^ *" |
removeShortcut
--action removeShortcut --space "zclishortcuts" --name "@all" |
--action removeShortcut --space "zclishortcuts" --name "NOT FOUND" --continue |
--action removeShortcut --space "zclishortcuts" --name "Shortcut 1" |
removeSpace
--action removeSpace --space "zconfluencecliExport" |
removeTopic
--action removeTopic --id "554106888" |
removeTopicWatch
--action removeTopicWatch --topic "zquestions_1" |
removeTrash
--action removeTrash --space "zclitrash" |
--action removeTrash --space "zclitrash" --id "553713865" |
--action removeTrash --space "zclitrash" --title "trash1" |
removeUser
--action removeUser --userId "NOT_FOUND" --continue |
--action removeUser --userId "testuser1" |
removeUserFromGroup
--action removeUserFromGroup --userId "testuser3" --group "testgroup2" |
--action removeUserFromGroup --userId "testuser3" --group "testgroup2" --continue |
removeWatch
--action removeWatch --space "zcliwatch" |
--action removeWatch --space "zcliwatch" --title "@home" --userId "user encode cli" --children |
--action removeWatch --space "zcliwatch" --title "watch1" --userId "user encode cli" |
removeWebhook
--action removeWebhook --name "zwebhooks1" |
renamePage
--action renamePage --space "zclipages2" --title "title2" --findReplaceRegex "title2(.*):title467357$1" |
--action renamePage --space "zclipages2" --title "title467357" --newTitle "title467357RenamedAgain" --parent "title3" |
render
--action render --content "<ac:structured-macro ac:name='info'><ac:rich-text-body><p>This is a test page.
This is a second line to test line end replacement.</p></ac:rich-text-body></ac:structured-macro>" --noConvert |
--action render --space "zrender" --file "build/output/render/renderTable.txt" --content "-" --clean |
--action render --space "zrender" --title "@home" --content "-" --clean |
--action render --space "zrender" --title "@home" --content "<ac:structured-macro ac:name='info'><ac:rich-text-body><p>aaa</p></ac:rich-text-body></ac:structured-macro>xxx" --noConvert --clean |
--action render --space "zrender" --title "@home" --content "This is a test page.
This is a second line to test line end replacement." --clean |
--action render --space "zrender" --title "@home" --file "build/output/render/renderNoContent.txt" |
renderBlog
--action renderBlog --space "zcliblogs" --title "addBlog1" --file "build/output/cliblogs/renderBlog.txt" --dayOfMonth 1 --month 2 --year 2023 |
--action renderBlog --space "zcliblogs" --title "copyBlog1" --file "build/output/cliblogs/renderBlogCopyBlog1.txt" --dayOfMonth 1 --month 3 --year 2023 |
renderPage
--action renderPage --space "zclipages" --title "This is title 0" --file "build/output/clipages/renderPage.txt" --findReplace "xxx:yyy" --findReplaceRegex "xxx:yyy" |
--action renderPage --space "zrender" --title "@home" --file "build/output/render/renderPageClean.txt" --clean |
--action renderPage --space "zrender" --title "@home" --options "representation=export_view" |
--action renderPage --space "zrender" --title "table" --clean |
renderRequest
--action renderRequest --space "zmisc" --title "@home" --file " " |
--action renderRequest --space "zmisc" --title "MultipleUpdates" --file "build/output/misc/renderRequestMultipleUpdatesAttachments.txt" --url "pages/viewpageattachments.action?pageId=@contentId@" |
--action renderRequest --space "zmisc" --title "MultipleUpdates" --file "build/output/misc/renderRequestMultipleUpdatesPageHistory.txt" --url "pages/viewpreviousversions.action?pageId=@contentId@" |
--action renderRequest --url "admin/viewgeneralconfig.action" --findReplaceRegex "(?s)(?i).*(General configuration).*:Found - \$1" |
run
--action run -i "-a getApp --app @default" |
--action run -i "-a getServerInfo --outputFormat 2 --outputType text" -i "-a getReplacementVariableList --outputType text" |
--action run -i "-a getUser --reference currentUserKey" -i "-a getUser --comment \"@userId@ and @userDisplayName@\"" |
--action run -i "-a removePage --space zclipages2 --title title5 --continue" -i "-a movePage --id 553714338 --newSpace zclipages2 --parent @home" |
--action run < /opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/run.txt |
--action run --common "--space zcliattachments --title @home" -i "-a addAttachment --name roundtrip.txt --content xxx" -i "-a getAttachment -f build/output/cliattachments/roundtrip.txt" -i "-a addAttachment --name roundtrip.txt2 --content xxx --comment mycomment" -i "-a getAttachment -f build/output/cliattachments/roundtrip.txt2" -i "-a getAttachmentList --regex \"roundtrip.txt.*\" --outputType text --columns title,filesize,comment" |
--action run --common "--space zcliattachmentversions --title script" -i "-a removePage --continue" -i "-a addPage --parent @home --content aaa --replace" -i "-a addAttachment --name a1 --content a" -i "-a addAttachment --name b1 --content b" -i "-a removeAttachmentVersions --name @all --limit 1 --columns: title,id,created,attachmenttitle,versionnumber,selected,bydate,bylimit --outputType text --dateFormat \"yyyy-MM-dd HH:mm:ss\"" -i "-a addAttachment --name a1 --content aa" -i "-a addAttachment --name a1 --content aaa" -i "-a addAttachment --name a1 --content aaaa" -i "-a addAttachment --name b1 --content bb" -i "-a addAttachment --name b1 --content bbb" -i "-a getAttachment --name b1 -f build/output/cliattachmentversions/b1-current.txt" -i "-a removeAttachmentVersion --name b1 --version 0" -i "-a removeAttachmentVersions --name a1 --limit 3 --columns: title,id,created,attachmenttitle,versionnumber,selected,bydate,bylimit --outputType text --dateFormat \"yyyy-MM-dd HH:mm:ss\"" -i "-a removeAttachmentVersion --name a1 --version 3" -i "-a getAttachmentVersionList --name a1 --columns: title,id,created,attachmenttitle,versionnumber,selected,bydate,bylimit --outputType text --dateFormat \"yyyy-MM-dd HH:mm:ss\"" -i "-a getAttachmentVersionList --name b1 --columns: title,id,created,attachmenttitle,versionnumber,selected,bydate,bylimit --outputType text --dateFormat \"yyyy-MM-dd HH:mm:ss\"" -i "-a removeAttachmentVersions --name @all --limit 1 --columns: title,id,created,attachmenttitle,versionnumber,selected,bydate,bylimit --outputType text --dateFormat \"yyyy-MM-dd HH:mm:ss\"" |
--action run --common "--space zcliexamples" --input "-a storePage --title page1 --content 111" --input "-a storePage --title page2 --content 222" --input "-a storePage --title \"page 3\" --content 333" --input "-a storePage --title \"page 4 with 'single' and \"double\" quotes\" --content https://bitbucket.examplegear.com" --input "-a storePage --title page5 --content \"
Link: https://examplegear.atlassian.net
Link: https://examplegear.atlassian.net/wiki (confluence)
Link: https://jira.examplegear.com and https://bamboo.examplegear.com
Link: https://confluence.examplegear.com http://google.com?q=acli
\"" --options "parallel" |
--action run --common "--space zclipages" |
--action run --common "--space zclipagesh1 --replace" |
--action run --common "--space zclipagesh1" |
--action run --common "--space zclispaces" --input "-a updateSpace --options status=archived" --input "-a getSpace" --input "-a updateSpace --options status=archived" --input "-a getSpaceList --outputFormat 1 --columns key,status --regex zclispaces" --input "-a getSpaceList --outputFormat 1 --columns key,status --select status:archived" --input "-a updateSpace --options status=current" --input "-a getSpaceList --outputFormat 1 --columns key,status --regex zclispaces" |
--action run --common "--space zclitrash" --input "-a storePage --title trash1" --input "-a storePage --title trash2" --input "-a storePage --title trash3" --input "-a addBlog --title blog1" --input "-a addBlog --title blog2" --input "-a addAttachment --title trash1 --content test --name test" --input "-a addAttachment --title trash3 --content test --name test" --input "-a removePage --title trash1" --input "-a removePage --title trash2" --input "-a run -i \"system -a sleep --value 30\"" --input "-a getBlogList -v" --input "-a runFromBlogList --common \"-a removeBlog --id #blogId#\" --special \" #\"" |
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/renderRequest.txt" --findReplace "@space@:zmisc" |
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/run.txt" |
--action run --file "build/output/export/exportDataSpace.txt" --findReplace "--space zexport --name \"zexport\":--space zconfluencecliExport2 --name \"zconfluencecliExport2\"" |
--action run --input "-a addSpace --space zcliaudits946309 --continue" --input "-a removeSpace --space zcliaudits946309" --input "-a getAuditLogList" |
--action run --input "-a getPage --space ZCLI --title @home" --input "-a removeEntityProperty --space @space@ --title \"@title@\" --name \"my.entity.property\" --continue" --input "-a setEntityProperty --space @space@ --title \"@title@\" --name \"my.entity.property\" --value stringvalue --replace" --input "-a setEntityProperty --space @space@ --title \"@title@\" --name \"my.entity.property\" --value {} --replace" --input "-a setEntityProperty --space @space@ --title \"@title@\" --name \"my.entity.property\" --value \"{\"\"aaa\"\":\"\"bbb\"\"}\" --replace" --input "-a getReplacementVariableList --outputType text" --input "-a getEntityProperty --space @space@ --title \"@title@\" --name @property@" --input "-a setEntityProperty --space @space@ --title \"@title@\" --name \"my_entity_property\" --value \"[\"\"111\"\", \"\"222\"\"]\" --replace" --input "-a getEntityPropertyList --space @space@ --title \"@title@\"" --input "-a removeEntityProperty --space @space@ --title \"@title@\" --name \"@property@\"" --input "-a removeEntityProperty --space @space@ --title \"@title@\" --name \"@property@\" --continue" --input "-a getEntityPropertyList --space @space@ --title \"@title@\" --regex \".*my.entity.*\" --outputFormat 1" --input "-a runFromEntityPropertyList --space @space@ --title \"@title@\" -i \"-a getEntityProperty --id @pageId@ --name \"\"#property#\"\" \" --special \" #\"" --input "-a removePage --space @space@ --title copyProperties --continue" --input "-a copyPage --id @pageId@ --newTitle copyProperties --copyProperties" --input "-a getEntityPropertyList --id @pageId@" |
--action run --input "-a getServerInfo --outputFormat 2" --input "-a getServerInfo --outputFormat 2 -s https://confluence.examplegear.com -u automation" |
--action run --input "-a getUser" --input "-a getUser" --input "confluence220_developer -a getServerInfo --outputFormat 2" --input "-a getUser" |
--action run --input "-a login" --input "-a logout" |
--action run --input "-a runFromPageList --space zrunner --common \"-a getLabelList --id @pageId@ \"" --input "-a runFromPageList --space zrunner --common \"-a getPage --id @pageId@ \"" --verbose |
--action run --input "-a updateWebhook --name zwebhooks2 --options secret=" --input "-a getReplacementVariableList --outputType text" --input "-a getWebhookList --regex zwebhooks2 --dateFormat yyyy-mm-dd" --input "-a getWebhookList --dateFormat yyyy-mm-dd --outputType text --columns -3,4" |
--action run --input "upm -a getAppList" |
--action run --login "JSESSIONID=C860DE2498244E876E3A7AEC22FEE7A5" |
--action run --space "zclipages" --title "Home" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/runContentActions.txt" --common "--space zclipages" |
--action run --verbose |
runFromAttachmentList
--action runFromAttachmentList --cql "space=zcliattachments and title='attachment page'" --regex "data.*" --common "--action getAttachmentList --space @space@ --regex @attachment@ --outputFormat 1" |
--action runFromAttachmentList --cql "space=zcliattachments and title='attachment page'" --regex "data.txt" --common "--action getAttachmentList --space @space@ --outputFormat 1" |
--action runFromAttachmentList --space "zcliattachments" --common "-a getServerInfo --comment ~attachment: @attachment@, id: @attachmentId@~" --special " ~" |
--action runFromAttachmentList --space "zcliattachments" --title "attachment page" --common "-a getServerInfo --comment ~space: @space@, title: @title@, attachment: @attachment@, id: @attachmentId@~" --special " ~" |
runFromAttachmentVersionList
--action runFromAttachmentVersionList --space "zcliattachmentversions" --title "history" --name "remove.txt" --regex "version-1" --common "-a removeAttachmentVersion --id @contentId@ --name @attachmentId@ --version @attachmentVersion@" --simulate |
runFromBlogList
--action runFromBlogList --space "zcliblogs" --regex2 ".*This is a test blog..*" --common "-a getContent --id @blogId@ --outputFormat 2" |
runFromCommentList
--action runFromCommentList --space "zconfluencecli" --title "This is title 0" --common "-a getClientInfo --comment @commentId@" |
runFromContentList
--action runFromContentList --cql "type=page and space=EXPERIMENT" --limit 1 --dateFormat "yyyy-MM-dd" --regex "(?i).*(home)|(EXPERIMENT).*" --common: '-a getServerInfo --comment "space: @space@, spaceName: @spaceName@, title: @title@, contentId: @contentId@"' |
--action runFromContentList --space "zclipages" --cql "space=zclipages and title='Home'" --common "--action addLabels --id ~@pageId@~ --labels ~done-by-action-run-from-content-list done-by-action-run-from-content-list2~" --special " # ~" |
--action runFromContentList --space "zclipages" --cql "space=zclipages and title='Home'" --common "--action removeLabels --space @space@ --title ~@title@~ --labels @all" --special " # ~" |
--action runFromContentList --space "zclipages" --cql "space=zclipages and title='Home'" --common "--action removeLabels --space @space@ --title ~@title@~ --labels done-by-action-run-from-content-list" --special " # ~" |
runFromGroupList
--action runFromGroupList --regex ".*users" --common "-a getUserList --group @group@" |
runFromList
--action runFromList --common "-a addAttachment --space zmisc --title MultipleUpdates --name: data.txt --content: @entry@" --list "1" |
--action runFromList --common "-a storePage --space zmisc --title MultipleUpdates --parent @home --content @entry@ -v" --list "1" |
--action runFromList --list ".*data\\..*, .*large\\..*" --common "-a getAttachmentList --append --space zcliattachments --regex @entry@ --outputFormat 2 --file build/output/cliattachments/attachmentListForAppend.csv" |
--action runFromList --list "1,2,3,4,5,6,7,8,9,10,11,12," --common "-a addAttachment --space zcliattachmentversions --title @home --name bulk.txt --content xxx --comment version-@entry@" |
--action runFromList --list "A,B" --common "-a getSpacePermissionList --space zrunner --cookies build/output/runner/cookies.txt -v" --verbose |
--action runFromList --list "A,B" --common "-a getSpacePermissionList --space zrunner --cookies build/output/runner/cookiesBoth.txt -v" --cookies "build/output/runner/parentCookiesBoth.txt" --verbose |
--action runFromList --list "A,B" --common "-a getSpacePermissionList --space zrunner -v" --cookies "build/output/runner/parentCookies.txt" --verbose |
--action runFromList --list "Client, Server" --common "-a get@entry@Info" |
--action runFromList --list "lessons, links" -i "-a getPageSource --space zclihtml --title \"@entry@\"" |
--action runFromList --list "org.*,com.*" --regex "@entry@" --common "-a getAppList --regex \"@entry@\"" |
--action runFromList --list "xxx, yyy" --common "--action runFromSpaceList --regex ~zconfluencecli|zrunner~ --common ~--action getSpace --space @space@ --comment @entry@ ~" --special " ~" |
runFromPageList
--action runFromPageList --cql "space=zclipages" --outputFormat 3 --regex "(?i)Home" --regex2 "(?s).*This is a test page..*" --common "-a getClientInfo" |
--action runFromPageList --space "zcliexamples" --clearFileBeforeAppend --common "-a getSource --id @pageId@ --special: \" #\" --options debugFindReplace --append --file build/output/cliexamples/spaceLinkList.txt" --input "--findReplaceRegex \"(?s).*?href=.(http[s]{0,1}://[./a-z]+)#\$1,\" --findReplaceRegex \"(?s)(((http[s]{0,1}://[./a-z]+),)*).*#\$1\" --findReplaceRegex \",#' \\n '\" " |
--action runFromPageList --space "zcliexamples" --input "-a getSource --id @pageId@ --file build/output/cliexamples" --input "-a getReplacementVariableList" |
--action runFromPageList --space "zclipages" --common "-a getLabelList --id @pageId@ --outputFormat 999 --file build/output/clipages/labelList.csv --append" |
--action runFromPageList --space "zclipages" --parent "@home" --simulate --input "-a getPage --space @space@ --title \"@title@\"" |
--action runFromPageList --space "zclipages" --title "Home" --common "--action addLabels --space zclipages --title \"@title@\" --labels done-by-action" --limit 1 |
--action runFromPageList --space "zclipagesh1" --title "AAA" --descendents --continue --common "-a copyPage --id @pageId@ --newSpace zclipagesh2 --parent @source --replace" |
runFromShortcutList
--action runFromShortcutList --space "zclishortcuts" --regex ".*google.com.*" --common "-a removeShortcut --space zclishortcuts --id @shortcutId@" |
runFromSpaceList
--action runFromSpaceList --common "--action getSpace --space @space@" |
--action runFromSpaceList --regex "zconfluencecli" --common "--action getSpace --space @space@" |
runFromTopicList
--action runFromTopicList --regex "zquestions_1" --common "--action addTopicWatch --id @topicId@" |
runFromTrashList
--action runFromTrashList --space "zclitrash" --simulate --common "-a removeTrash --id @contentId@" |
runFromUserList
--action runFromUserList --limit 2 --regex "((admin)|(automation))" --common: "--action getServerInfo --comment \"@userId@\" " |
runFromWatchList
--action runFromWatchList --space "zcliwatch" --common "-a addWatch --space @space@ " |
--action runFromWatchList --space "zcliwatch" --title "watch1" --common "-a addWatch --space @space@ --title @title@ --userId \"@userId@\" " |
runFromWebhookList
--action runFromWebhookList --regex "zwebhooks1.*" --common "-a removeWebhook --id @webhookId@" |
showShortcut
--action showShortcut --space "zclishortcuts" --name "NOT FOUND" --continue |
--action showShortcut --space "zclishortcuts" --name "Pages" |
storeBlog
--action storeBlog --space "zcliblogs" --title "addBlog2" --content "This is a test blog. Updated." --dayOfMonth 1 --month 2 --year 2023 --replace --comment "storeBlog updated again" |
--action storeBlog --space "zcliblogs" --title "addBlog2" --content "This is a test blog." --dayOfMonth 1 --month 2 --year 2023 --replace --comment "storeBlog updated" |
storePage
--action storePage --space "zcliattachments" --title "attachment page" --content "This is a test page." --parent "Home" |
--action storePage --space "zcliexamples" --title "csoap-234" --parent "@home" --special " # ~" --content "<p><ac:link><ri:page ri:content-title=~Home~/></ac:link></p>" --noConvert |
--action storePage --space "zclimarkdown" --title "markdown ampersand" --content "[ABC](https://bobswift.atlassian.net?xxx&yyyzzz=aaa)" --noConvert --markdown |
--action storePage --space "zclimarkdown" --title "markdown readme with toc" --parent "@home" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/readme-flexmark.markdown" --markdown |
--action storePage --space "zclimarkdown" --title "markdown readme" --parent "@home" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/readme.markdown" --markdown |
--action storePage --space "zclimarkdown" --title "markdown" --markdown --content "Some text with <code>some code</code> inside. [[home]] [[${space}:home]] [[aaa|${space}:home]] [[${space}:]] [[bbb|${space}:]] [[zzz|http://google.com]]
" --content2 "Special characters: !@#\$%^&*()_<>'. xxx@xxx.com other: “aaa” ’bbb‘ — – …
Special characters2: \" – — ‘ ’ “ ” ‹ › € " --parent "@home" |
--action storePage --space "zclimarkdown" --title "markdownXss" --file "-" --markdown --parent "@home" |
--action storePage --space "zclimodify" --title "modify" --content "This is a test page.
http://www.test.com:8888/jira" --parent "@home" |
--action storePage --space "zclipages" --title "This is title 1" --content "This is a test page." --parent "@home" |
--action storePage --space "zclipages" --title "This is title 1" --content "This is a test page." --parent "Home" |
--action storePage --space "zclipages" --title "This is title 1" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/data.txt" --content2 "content added after file data" --comment "automation updated" --minor |
--action storePage --space "zclipages" --title "This is title 1" --labels "testLabel" |
--action storePage --space "zclipages" --title "This is title 2" --content "This is a test page." --parent "This is title 1" |
--action storePage --space "zclipages" --title "This is title 3" --content "This is a test page." --parent "This is title 2" |
--action storePage --space "zclipages" --title "This is title 8" --file "-" --content2 "content added after file data" |
--action storePage --space "zclipages" --title "replace" --home "@home" --content "XXX" |
--action storePage --space "zclipages" --title "roundTrip" --content "This is a test page." --parent "@home" |
--action storePage --space "zclipages" --title "roundTrip" --file "build/output/clipages/getPageSourceRoundTrip.txt" --noConvert |
--action storePage --space "zclipages" --title "template" --parent "@home" --content "Variable 1: \$VAR1\$
Variable 2: %VAR2%
Variable 3: (VAR3)" --replace |
--action storePage --space "zclipages" --title "xxx.,<>_|~!{}[]=//&*%-+'" --content "This is a test page." --parent "@home" |
--action storePage --space "zclipages4" --title "encoding" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/encoding.txt" --encoding "UTF-16" |
--action storePage --space "zclipages4" --title "encoding2" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/encoding2.txt" --encoding "SJIS" |
--action storePage --space "zclipages4" --title "encoding3" --content "テストテスト
testtest
今日明日明後日
あああああ
testaaaaaaaaaaaaaaa
123456" |
--action storePage --space "zclipagesh1" --title "CCC1733245131305" --content "xxx" --parent "BBB" |
--action storePage --space "zconfluencecli" --title "This is title 1" --content "This is a test page." --parent "Home" |
--action storePage --space "zconfluencecli" --title "This is title 7" --content "a b c d e,: a b c d e" --findReplace "a b:x y" |
--action storePage --space "zconfluencecli" --title "This is title 7" --content "a b c d e,: a b c d e" --findReplace "a b:x y" --findReplace ",:;" --findReplace "':':*" --findReplace "d:z" --findReplace "e:z" |
--action storePage --space "zconfluencecli" --title "This is title 7" --content "a b c d e,: a b c d e" --findReplaceRegex "[abc]:www" |
--action storePage --space "zexport" --title "Special: &" --content "xxx" --parent "@home" |
--action storePage --space "zexport" --title "viewRestricted" --content "" --parent "@home" --replace |
--action storePage --space "zhistory" --title "history" --content "Content for: 1" |
--action storePage --space "zhistory" --title "history" --content "Content for: 2" |
--action storePage --space "zhistory" --title "history" --content "Content for: 3" |
--action storePage --space "zhistory" --title "history" --content "Content for: 4" |
--action storePage --space "zhistory" --title "history" --content "Content for: 5" |
--action storePage --space "zhistory" --title "history" --content "Content for: 6" |
--action storePage --space "zmisc" --title "ampersand" --content "XXX & YYY" --noConvert |
--action storePage --space "zmisc" --title "ampersand2" --content "XXX & YYY" |
--action storePage --space "zrender" --title "table" --file "build/output/render/renderTable.txt" --noConvert |
updateComment
--action updateComment --id "553713784" --comment "@commentBody@" |
--action updateComment --id "553713784" --comment "@commentBody@" --findReplace "xxx:yyy" --findReplaceRegex "y{3}:comment" |
--action updateComment --id "553713784" --comment "{tip}Updated xxx text{tip}" |
updateSpace
--action updateSpace --space "zclispaces3Target516427" --name "temporary name" --description "temporary description" --home "This is title" |
updateTopic
--action updateTopic --topic "zquestions_1" |
--action updateTopic --topic "zquestions_1" --description "Some nice description" |
--action updateTopic --topic "zquestions_1" --featured |
--action updateTopic --topic "zquestions_3" --description "updated: Some nice description" |
updateUser
--action updateUser --userId "testuser1" --userFullName "Test User1" --userEmail "testuser1@examplegear.com" --userPassword "***" |
updateWebhook
--action updateWebhook --id "4755" --url "https://examplegear.com/acli2" --name "zwebhooks1updated" |
--action updateWebhook --name "zwebhooks2" --events "page_created" --options "enable" |
validateLicense
--action validateLicense |
Log a request with our support team.
Confluence®, Jira®, Atlassian Bamboo®, Bitbucket®, Fisheye®, and Atlassian Crucible® are registered trademarks of Atlassian®
Copyright © 2005 - 2024 Appfire | All rights reserved. Appfire™, the 'Apps for makers™' slogan and Bob Swift Atlassian Apps™ are all trademarks of Appfire Technologies, LLC.