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 Sign up to answer
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

29 views 0 2
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