getAvailableTimeTrackingImplementations method

Future<List<TimeTrackingProvider>> getAvailableTimeTrackingImplementations()

Returns all time tracking providers. By default, Jira only has one time tracking provider: JIRA provided time tracking. However, you can install other time tracking providers via apps from the Atlassian Marketplace. For more information on time tracking providers, see the documentation for the Time Tracking Provider module.

Permissions required: Administer Jira global permission.

Implementation

Future<List<TimeTrackingProvider>>
    getAvailableTimeTrackingImplementations() async {
  return (await _client.send(
    'get',
    'rest/api/3/configuration/timetracking/list',
  ) as List<Object?>)
      .map((i) => TimeTrackingProvider.fromJson(
          i as Map<String, Object?>? ?? const {}))
      .toList();
}