Time tracking

Set time tracking settings

Sets the time tracking settings.

Permissions required: Administer Jira global permission.

put/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)

Request body

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.

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.