updateMultipleCustomFieldValues method

Future updateMultipleCustomFieldValues({
  1. bool? generateChangelog,
  2. required MultipleCustomFieldValuesUpdateDetails body,
})

Updates the value of one or more custom fields on one or more issues. Combinations of custom field and issue should be unique within the request. Custom fields can only be updated by the Forge app that created them.

Permissions required: Only the app that created the custom field can update its values with this operation.

Implementation

Future<dynamic> updateMultipleCustomFieldValues(
    {bool? generateChangelog,
    required MultipleCustomFieldValuesUpdateDetails body}) async {
  return await _client.send(
    'post',
    'rest/api/3/app/field/value',
    queryParameters: {
      if (generateChangelog != null)
        'generateChangelog': '$generateChangelog',
    },
    body: body.toJson(),
  );
}