getScreensForField method
Returns a paginated list of the screens a field is used in.
Permissions required: Administer Jira global permission.
Implementation
Future<PageBeanScreenWithTab> getScreensForField(
{required String fieldId,
int? startAt,
int? maxResults,
String? expand}) async {
return PageBeanScreenWithTab.fromJson(await _client.send(
'get',
'rest/api/3/field/{fieldId}/screens',
pathParameters: {
'fieldId': fieldId,
},
queryParameters: {
if (startAt != null) 'startAt': '$startAt',
if (maxResults != null) 'maxResults': '$maxResults',
if (expand != null) 'expand': expand,
},
));
}