Developer Portal for YouTrack and Hub Help

Work Time Settings

This resource lets you configure the system-wide work time settings.

Resource

/api/admin/timeTrackingSettings/workTimeSettings

Returned entity

WorkTimeSettings. For the description of the entity attributes, see Supported Fields section.

WorkTimeSettings attributes

Work schedule settings.

Related Resources

Below you can find the list of resources that let you work with this entity.

Attributes

This table describes attributes of the WorkTimeSettings entity.

  • To receive an attribute in the response from the server, specify it explicitly in the fields request parameter.

  • To update an attribute, provide it in the body of a POST request.

Field

Type

Description

id

String

The ID of the work schedule settings. Read-only.

minutesADay

Int

Number of minutes per working day. For example, for an 8-hour day, it would be 480.

workDays

Array of Ints

The indexes of the days of the week that are counted as working days. Sunday's index is 0, Monday's index is 1 and so on.

firstDayOfWeek

Int

Index of the first day of week. It depends on server locale. Read-only.

daysAWeek

Int

Number of working days a week. Read-only.

Last modified: 7 November 2024