Versions Compared

Key

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

...

CSV files can be displayed in Confluence using the CSV macro. In many cases it is useful to display the csv file using Augments so the display is more useful for viewers. This page has examples of this.

getSpaceList

...

  • Subset to CLI clients for this example
Csv
outputwiki
columnsKey, Name, Type
autoNumbertrue
headingAugmentsJIRA, Confluence
scriptExample output^cliSpaceList.csv
augments[%KEY%|https://bobswift.atlassian.net/browse/%JIRA%],[%Key%:]
 

getSpacePermissionList

...

  • Subset to CLI clients for this example
Csv
outputwiki
columnsSpace, Space, Id Type, Id,6,7,9,10,11,12,13,14,15,16,17,18,19
autoNumbertrue
headingAugmentsSpace, Key,,,View,Page\\Add,Page\\Restrict,Page\\Delete,Blog\\Add,Blog\\Delete,Comment\\Add,Comment\\Delete,Attachment\\Add,Attachment\\Delete,Mail\\Delete,Space\\Export,Space\\Admin
scriptExample output^cliSpacePermissionList.csv
augments[%Space%:],,,,!info:images^%viewspace%.png!,!info:images^%editspace%.png!,!info:images^%setpagepermissions%.png!,!info:images^%removepage%.png!,!info:images^%editblog%.png!,!info:images^%removeblog%.png!,!info:images^%comment%.png!,!info:images^%removecomment%.png!,!info:images^%createattachment%.png!,!info:images^%removeattachment%.png!,!info:images^%removemail%.png!,!info:images^%exportspace%.png!,!info:images^%setspacepermissions%.png!
 

...