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