currentUser() Functionality in Dashboard Hub App

currentUser() Functionality in Dashboard Hub App

This article provides options to ensure that dashboards display data specific to the logged-in user and explains how the currentUser() function works in Dashboard Hub.

Instructions

To ensure that dashboards display data relevant to the logged-in user, follow these steps:

  1. Navigate to Apps > Dashboard Hub > Select Dashboard > click Filters.

  2. Click Assignee > Select currentUser()

  1. If the “This Jira Instance“ datasource is used to configure the dashboard:

    1. Click the Three Dots(…) at the top right corner of the gadget > Configure.

b. Enable the restrictions toggle

 

Functionality:

  • The currentUser() function in JQL queries doesn’t apply to the data because the gadget retrieves information using its data source rather than the user's credentials viewing the dashboard. As a result, data can be displayed based on permissions from other users with access to the data source.

Limitations:

  • Custom Fields cannot be added to the Dynamic Filter Bar for now. Only predefined filters are available.

  • The Dynamic Filter only filters the data and does not restrict access.