Versions Compared

Key

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

...

...

...

...

Div
idProductTOC

On this page

Table of Contents
maxLevel1
excludeOn this page
typeflat
separatorpipe

...

Overview

This page shows how you create a simple table from JSON data using the JSON Table macro, which is part of the Advanced Tables for Confluence app.

Macro

...

browser input

Select this

...

macro

Macro NameAdvanced Tables - JSON Table
Macro Syntax{json-table}

Define these

...

parameters/

...

values

JSON Table settings > Data source > Method of locating JSON data (URL) > URL of JSON datahttps://bobswift.atlassian.net/rest/api/latest/project/TBL/version
JSON Table settings > Data format > Paths to fieldsvalues
JSON Table settings > Data format > Paths to fields to be includedname,description,id,releaseDate
Column settings > Sorting > Automatically sort in descending orderOn
Column settings > SortingAutomatically sort by this columnName

Screenshot

Wiki

...

markup input

Code Block
languagetext
linenumberstrue
{json-table:
paths=values|
fieldPaths=name,description,id,releaseDate|
url=https://bobswift.atlassian.net/rest/api/latest/project/TBL/version?maxResults=100|
sortDescending=true|
sortColumn=Name}
{json-table}

Live

...

example

Json table
sortDescendingtrue
fieldPathsname,description,id,releaseDate
sortColumnName
pathsvalues
urlhttps://bobswift.atlassian.net/rest/api/latest/project/TBL/version?maxResults=100

Other

...

examples

Visit our full list of product examples for additional inspiration!Image Removed