Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel3
minLevel3
typeflat
separatorpipe

 


Section


Column
width40%60%

Summary

The attachments on this page are produced by running CLI actions against this site. In the case of project specific lists, the Example space is used primarily. This is automated via a private Bamboo instance running the BCLIP. The attachments can be viewed directly on this page using the CSV macroMacro. They are grouped by category: site, space specific, and page specific. This shows the raw CSV data. Examples of more useful displays of the data in Confluence are available on the Example output with augments page and other examples on this site.


Tip

When you have the CCLI installed, then you can make these types of lists live. How to get all space permissions is one example.


Tip
titleAutomation Authority

You must ensure that the user id used for automation (or a group it belongs to) has access to all the spaces and page that need to be reported or acted on. Normally, the automation user id should have System Administrator global permission so it has full access to all spaces and pages. If this is not possible (for instance, when using Cloud), then make sure the default space permissions allow full access. Space administrators should be instructed to not remove this permission. Unfortunately, without System Administrator permission, it is possible for page level view restrictions to prevent access by automation and these pages will not be available to report on.




Column

Attachments

Attachment table
dateFormatyyyy-MM-dd
columnsFile, Size, Creator, Created
autoNumbertrue


Site lists

...

getSpaceList

  • This is restricted to CLI clients to shorten the example
  • See the augmented version of this list
Csv
script^cliSpaceList.csv
  

getSpacePermissionList

  • This is restricted to CLI clients to shorten the example
  • See the augmented version of this list
Csv
script^cliProjectList^cliSpacePermissionList.csv
  

Space specific lists

...

getAttachmentList

Csv
script^attachmentList.csv

getBlogList

Csv
script^blogList.csv

getContentList

Csv
script^contentList.csv

getLabelList

Csv
script^labelList.csv

getPageList

Csv
script^pageList.csv

getTrashList

Csv
script^trashList.csv

getWatchList

Csv
script^componentList^watchList.csv

getPermissionList

  • This is a page level action we run against all page in the space to get a space level view
  • -a runFromPageList --space example --common "-a getPermissionList --space example  --id @pageId@  --append --outputFormat 999"
  • You can replace the space name with @all to get a site wide list, but this is going to take a very long time for sites with a large number of pages (sad).
  • For this to be useful, mind the authority tip at the top of the page.
Csv
script^permissionList.csv

Page specific lists

...

getCommentList

 
Csv
script^attachmentList^commentList.csv