Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Hello Jota,

 

Did you find any solution to your problem ? I am also in same boat where I have to create dashboard using APIs and Create/update gdagets using APIs

 

Thanks in advance, please let me know.

Hello, Vishal.

I didn't find an automated solution to the problem, so I Had to develop a workaround: the users upload a screenshot of the image(s) to a web application, so I can use them in my reports.

Neither elegant nor fancy, but it is what it is...

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you