Access dashboard gadgets via API

Hello.

In order to generate a custom report (using different Unix tools), I need to include some gadgets from different dashboards as part of it (in fact, what I need is to include those gadgets' static images).

I have checked Jira's API documentation, but couldn't find any information about this.

Is there a way to accomplish this?

Thanks in advance.

3 answers

This widget could not be displayed.

Dashboard gadgets are generatedd in the browser at the time they are accessed (if you look at the code, you'll find blocks of client-side javascript are doing a lot of the work)

So, no, you can't really "access" them because there's nothing there until you run them in a browser.

This widget could not be displayed.

What Nic wrote in his answer (most of the work is done by Javascript in your browser) is true for many of the gadgets (especially chart gadgets), but there are other gadgets that are fully rendered in the serverside (e.g. Filter Results gadget).

You could consider using the PDF View Plugin to export JIRA gadgets and complete dashboards to PDF. You could use its automation capabilities or REST API to integrate to your "Unix tools" based solution.

For example:

This widget could not be displayed.

Thanks Nic and Aron for the information.

I will have to find an alternative solution to work this out.

-- 
Best regards

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

97 views 1 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you