Developer Portal for YouTrack and Hub Help

VcsChange

Represents a VCS change linked to an issue.

This table describes attributes of the VcsChange 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 database ID of the VCS change. Read-only.

date

Long

The date when the VCS change was committed to the repository. Read-only. Can be null.

fetched

Long

The date when the VCS change was fetched from the repository to YouTrack. Read-only. Can be null.

files

Int

The number of files included into the VCS change. Equals -1 if the number of files is unknown. Read-only.

author

User

The author of the VCS change. Read-only.

processors

Array of ChangesProcessors

The list of version control systems that contain the VCS change. Read-only.

text

String

The commit message of the VCS change. Read-only. Can be null.

urls

Array of Strings

The list of links to the VCS change in the corresponding version control systems. The order is the same as in the processors attribute. Read-only.

version

String

The commit hash of the VCS change. Can be null.

issue

Issue

The YouTrack issue the VCS change is linked to. Can be null.

state

Byte

The code of the state of the VCS change. Here is the list of available state codes:

  • 0 = default

  • 1 = attached manually

  • 2 = detached

  • 3 = legacy

The list of state codes may be extended in the future API versions.

Last modified: 9 May 2022