getDashboard method

Future<Dashboard> getDashboard(
  1. String id
)

Returns a dashboard.

This operation can be accessed anonymously.

Permissions required: None.

However, to get a dashboard, the dashboard must be shared with the user or the user must own it. 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.

Implementation

Future<Dashboard> getDashboard(String id) async {
  return Dashboard.fromJson(await _client.send(
    'get',
    'rest/api/3/dashboard/{id}',
    pathParameters: {
      'id': id,
    },
  ));
}