updateCustomFieldConfiguration method

Future updateCustomFieldConfiguration({
  1. required String fieldIdOrKey,
  2. required CustomFieldConfigurations body,
})

Update the configuration for contexts of a custom field created by a Forge app.

Permissions required: Administer Jira global permission. Jira permissions are not required for the Forge app that created the custom field.

Implementation

Future<dynamic> updateCustomFieldConfiguration(
    {required String fieldIdOrKey,
    required CustomFieldConfigurations body}) async {
  return await _client.send(
    'put',
    'rest/api/3/app/field/{fieldIdOrKey}/context/configuration',
    pathParameters: {
      'fieldIdOrKey': fieldIdOrKey,
    },
    body: body.toJson(),
  );
}