Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how to display dashboard gadgets using rest api on confluence page with forge app

Kumar January 19, 2024

 I'm trying to display gadgets of a dashboard in confluence page. I was able to gadgets of a dashboard using this rest API: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-dashboards/#api-rest-api-3-dashboard-dashboardid-gadget-get

Response of the API call:

{
    "gadgets": [
        {
            "id": 10131,
            "uri": "rest/gadgets/1.0/g/com.atlassian.jira.gadgets:pie-chart-gadget/gadgets/piechart-gadget.xml",
            "color": "blue",
            "position": {
                "row": 0,
                "column": 0
            },
            "title": "Pie Chart"
        },
        {
            "id": 10111,
            "uri": "rest/gadgets/1.0/g/com.atlassian.jira.gadgets:in-progress-gadget/gadgets/in-progress-gadget.xml",
            "color": "blue",
            "position": {
                "row": 1,
                "column": 0
            },
            "title": "Issues in progress"
        }
    ]
}

  How can I use this response to display the dashboard gadgets in confluence page using forge app. Can anyone help me with this ?

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events