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

0 votes

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.

0 votes

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:

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,174 views 13 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot