Dashboard Widget: Get dashboard id
Hello,
Is there a way for a widget to determine the ID of the dashboard on which it is currently displayed?
I want to synchronize multiple widgets on the same dashboard, for example charts and issue tables, and control them through a shared filter widget. I already have the synchronization working, but the selected filter is currently shared across all dashboards that contain these widgets.
I therefore need the current dashboard ID so that I can include it in the host.storage key and keep the stored filter settings isolated for each dashboard.
Is there a supported way to retrieve the current dashboard ID from within a widget?
Best regards
Please sign in to leave a comment.