setSharedTimeTrackingConfiguration method

Future<TimeTrackingConfiguration> setSharedTimeTrackingConfiguration({
  1. required TimeTrackingConfiguration body,
})

Sets the time tracking settings.

Permissions required: Administer Jira global permission.

Implementation

Future<TimeTrackingConfiguration> setSharedTimeTrackingConfiguration(
    {required TimeTrackingConfiguration body}) async {
  return TimeTrackingConfiguration.fromJson(await _client.send(
    'put',
    'rest/api/3/configuration/timetracking/options',
    body: body.toJson(),
  ));
}