getDashboardItemPropertyKeys method

Future<PropertyKeys> getDashboardItemPropertyKeys({
  1. required String dashboardId,
  2. required String itemId,
})

Returns the keys of all properties for a dashboard item.

This operation can be accessed anonymously.

Permissions required: The user must be the owner of the dashboard or have the dashboard shared with them. Note, users with the Administer Jira global permission are considered owners of the System dashboard. The System dashboard is considered to be shared with all other users, and is accessible to anonymous users when Jira’s anonymous access is permitted.

Implementation

Future<PropertyKeys> getDashboardItemPropertyKeys(
    {required String dashboardId, required String itemId}) async {
  return PropertyKeys.fromJson(await _client.send(
    'get',
    'rest/api/3/dashboard/{dashboardId}/items/{itemId}/properties',
    pathParameters: {
      'dashboardId': dashboardId,
      'itemId': itemId,
    },
  ));
}