Get our free guides to start using Jira and Confluence Cloud like a pro.
Skip to end of metadata
Go to start of metadata

The Table from CSV macro allows you to output a table from CSV or TSV data source.

The macro supports outputting data from a URL or an attached file.



Using the Table from CSV macro

1. Insert the macro on a page:

  • Start entering {Table from CSV} (or /Table from CSV in the new Cloud editor) and select the macro
  • Or on the editor pane, click Insert more content -> Other macros, find the macro and insert it on the page

2. Specify the CSV source option:

  • URL
  • Attachment

If the URL is local, please add it to the Allowed URL list.


3. Find the attachment by typing the file name.

4. Or configure a URL:

  • Add a URL to CSV
  • Select the Authentication type
  • Optionally set the login and password settings or Request header

5. Select an appropriate data format and encoding from the list or add it manually.

6. Save the macro and update the page.


Custom Authentication with a Bitbucket access token

1. Create a personal access token in your Bitbucket account.
2. Insert the Table from CSV macro on the Confluence page.
3. 
Add a URL to CSV.
4. Select the Authentication type: Custom
5. Use Bearer Auth without the username.
Change request header: Bearer Y
our_Token
6. Save Request header

In general, custom header consists of Auth_Type Your_Secret