updateCustomFieldContext method

Future updateCustomFieldContext({
  1. required String fieldId,
  2. required int contextId,
  3. required CustomFieldContextUpdateDetails body,
})

Updates a custom field context.

Permissions required: Administer Jira global permission.

Implementation

Future<dynamic> updateCustomFieldContext(
    {required String fieldId,
    required int contextId,
    required CustomFieldContextUpdateDetails body}) async {
  return await _client.send(
    'put',
    'rest/api/3/field/{fieldId}/context/{contextId}',
    pathParameters: {
      'fieldId': fieldId,
      'contextId': '$contextId',
    },
    body: body.toJson(),
  );
}