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

Can we access dashboard gadgets via API

Can we access dashboard gadgets via API to know about usage of gadget in terms of how many accessed the gadget 

1 answer

1 accepted

0 votes
Answer accepted
Derek Fields Community Leader Nov 21, 2019

The short answer is that there is no API that will return the information that are trying to get. You can look at this post: https://community.atlassian.com/t5/Jira-Core-questions/How-to-obtain-ItemId-in-api-2-dashboard-dashboardId-items-itemId/qaq-p/189400. As you will see, there is no API that will return to you the itemid for the dashboard gadget. Without that, you can't access the properties. Further, if the gadget doesn't have a property that tracks access, there is no other way to get that information.

The only alternative that I can think of is to scrape the access logs looking for access to specific dashboards. If you know what gadgets appear on the dashboard and when they were added or removed, you would have a reasonable estimate of the number of times a gadget was used.

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