Time tracking

Get time tracking settings

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.

get/rest/api/2/configuration/timetracking/options

Request

  • Base URL: https://your-domain.atlassian.net
  • URL: https://your-domain.atlassian.net/rest/api/2/configuration/timetracking/options
  • Auth: one of:
    • HTTP basic
    • OAuth 2 (authorization code, authorization URL https://auth.atlassian.com/authorize, token URL https://auth.atlassian.com/oauth/token, scopes: manage:jira-configuration)

Response

Returned if the request is successful.

defaultUnit'minute' | 'hour' | 'day' | 'week' required

The default unit of time applied to logged time.

timeFormat'pretty' | 'days' | 'hours' required

The format that will appear on an issue's Time Spent field.

workingDaysPerWeeknumber double required

The number of days in a working week.

workingHoursPerDaynumber double required

The number of hours in a working day.

Changes

No recorded changes to this operation across all 26 revisions of this API.