getAllApplicationRoles method
Returns all application roles. In Jira, application roles are managed using the Application access configuration page.
Permissions required: Administer Jira global permission.
Implementation
Future<List<ApplicationRole>> getAllApplicationRoles() async {
return (await _client.send(
'get',
'rest/api/3/applicationrole',
) as List<Object?>)
.map((i) =>
ApplicationRole.fromJson(i as Map<String, Object?>? ?? const {}))
.toList();
}