Building a Simple Table from Rest API Data

On this page

Overview

This page shows how you bring Rest API data from a JIRA query directly into a Confluence table using the JSON Table macro, which is part of the Advanced Tables for Confluence add-on.

Macro Browser Input

Select this Macro

Macro NameJSON Table
Macro Syntax{json-table}

Define these Parameters/Values

Paths to fieldsissues
Paths to fields to be includedkey,fields.summary,fields.issuetype.name,fields.issuetype.id,fields.fixVersions[*].name
URL to JSON data

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

Auto number on each rowselected

JSON data

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

Screenshot

Wiki Markup Input

{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!

 

Log a request with our support team.

Confluence®, Jira®, Atlassian Bamboo®, Bitbucket®, Fisheye®, and Atlassian Crucible® are registered trademarks of Atlassian®
Copyright © 2005 - 2024 Appfire | All rights reserved. Appfire™, the 'Apps for makers™' slogan and Bob Swift Atlassian Apps™ are all trademarks of Appfire Technologies, LLC.