updateScreenScheme method

Future updateScreenScheme({
  1. required String screenSchemeId,
  2. required UpdateScreenSchemeDetails body,
})

Updates a screen scheme. Only screen schemes used in classic projects can be updated.

Permissions required: Administer Jira global permission.

Implementation

Future<dynamic> updateScreenScheme(
    {required String screenSchemeId,
    required UpdateScreenSchemeDetails body}) async {
  return await _client.send(
    'put',
    'rest/api/3/screenscheme/{screenSchemeId}',
    pathParameters: {
      'screenSchemeId': screenSchemeId,
    },
    body: body.toJson(),
  );
}