getProjectRoleById method
Gets the project role details and the default actors associated with the role. The list of default actors is sorted by display name.
Permissions required: Administer Jira global permission.
Implementation
Future<ProjectRole> getProjectRoleById(int id) async {
return ProjectRole.fromJson(await _client.send(
'get',
'rest/api/3/role/{id}',
pathParameters: {
'id': '$id',
},
));
}