hi Atlassian community
i have stuck in one place that is i could not find out viewed details of dashboards through sql or api, if there any option available in Atlassian jira
Thnx in advance
In Jira, unfortunately, there isn’t a straightforward way to query dashboard views directly using Jira's native SQL or REST API. Jira doesn’t track view counts for dashboards by default, so it doesn't expose any API or database table that logs dashboard view details out of the box.
However, here are a few potential workarounds you might consider:
Use Google Analytics or a similar tool: If you're on a hosted Jira instance and have access to the server side, you could embed Google Analytics tracking code into the dashboard HTML (if you have customization permissions). This approach would allow you to track page views on specific dashboards, similar to how you'd track views on a website.
Browser Extension: You could use a browser extension (like Tampermonkey) to log page views to a server whenever you or another user access a dashboard. The extension can make API calls or log entries to an external tracking tool to keep track of dashboard views.
Custom Logging on Server: If you’re using a self-hosted Jira (Jira Server or Data Center), you could set up custom logging on your web server to track accesses to dashboard URLs. You’d need to parse the logs later to gather view counts by dashboard.
Hope it helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.