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 bring Rest REST API data from a JIRA Jira query directly into a Confluence table using the JSON Table macro, which is part of the Advanced Tables for Confluence app.

Macro

...

browser input

Select this

...

macro

Macro
Name
nameAdvanced Tables - JSON Table
Macro
Syntax
syntax{json-table}

Define these

...

parameters/

...

values

JSON Table settings > Data format > Paths to fieldsissues
JSON Table settings > Data format > Paths to fields to be includedkey,fields.summary,fields.issuetype.name,fields.issuetype.id,fields.fixVersions[*].name
JSON Table settings > Data source > Method of locating JSON data (URL) > URL of JSON data

https://bobswift.atlassian.net/rest/api/latest/search?jql=key%20in%20(TBL-174%2C%20TBL-300)%20order%20by%20key

Column settings > Numbering & Totaling > Insert auto number columnOn


Tip
titleJSON data

Click on the URL link above to view the live JSON data.

Screenshot

Wiki

...

markup input

Code Block
languagetext
linenumberstrue
{json-table:
paths=issues|
fieldPaths=key,fields.summary,fields.issuetype.name,fields.issuetype.id,fields.fixVersions[*].name|
url=https://bobswift.atlassian.net/rest/api/latest/search?jql=key%20in%20(TBL-174%2C%20TBL-300)%20order%20by%20key|
autoNumber=true}
{json-table}

Example

...

result

Other

...

examples

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