YouTrack InCloud 2019.1 Help

Operations with Specific ProjectTimeTrackingSettings

Resource

/api/admin/projects/timeTrackingSettings

Returned entity

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

Supported methods

ProjectTimeTrackingSettings attributes

Time tracking settings of the project.

This table describes attributes of the ProjectTimeTrackingSettings entity.

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

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

Field

Type

Description

enabled

Boolean

When true, the time tracking in the project is enabled. Otherwise, false.

estimate

ProjectCustomField

The custom field that is used for estimation in the project. The field must be attached to the project. Can be null.

timeSpent

ProjectCustomField

The custom field that is used for estimation in the project. The field must be attached to the project. Can be null.

workItemTypes

Array of WorkItemTypes

A collection of work item types that are used in the project.

project

Project

Reference to the project, to which these settings belong to. Read-only. Can be null.

Read a Specific ProjectTimeTrackingSettings

Read the time tracking settings of the project.

Request syntax

GET /api/admin/projects/timeTrackingSettings/{settingsID}?{fields}

Request parameters

Parameter

Type

Description

fields

string

A list of ProjectTimeTrackingSettings attributes that should be returned in the response. If no field is specified, only the entityID is returned.

Update a Specific ProjectTimeTrackingSettings

Update the time tracking settings of the project.

Request syntax

UPDATE /api/admin/projects/timeTrackingSettings/{settingsID}?{fields}

Request parameters

Parameter

Type

Description

fields

string

A list of ProjectTimeTrackingSettings attributes that should be returned in the response. If no field is specified, only the entityID is returned.

Last modified: 25 April 2019