getSharedTimeTrackingConfiguration method

Future<TimeTrackingConfiguration> getSharedTimeTrackingConfiguration()

Returns the time tracking settings. This includes settings such as the time format, default time unit, and others. For more information, see Configuring time tracking.

Permissions required: Administer Jira global permission.

Implementation

Future<TimeTrackingConfiguration> getSharedTimeTrackingConfiguration() async {
  return TimeTrackingConfiguration.fromJson(await _client.send(
    'get',
    'rest/api/3/configuration/timetracking/options',
  ));
}