Developer Portal for YouTrack and Hub Help

PullRequest

Represents a pull request or merge request linked to an issue.

Related Resources

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

Attributes

This table describes attributes of the PullRequest 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 pull request. Read-only.

author

User

The author of the pull request. If YouTrack fails to find a user who matches the author when the pull request is fetched, the author is set to VcsUnresolvedUser. Read-only.

userNotFoundReason

Byte

The code of the reason why the pull request author could not be associated with a YouTrack user account. Read-only.

hubUserNotFoundReason

Byte

The code of the reason why the pull request author could not be associated with a Hub user account. Read-only.

idExternal

String

The pull request ID in the external version control system. Read-only.

idReadable

String

The human-readable pull request ID. Read-only. Can be null.

date

DateTime

The date when the pull request was created or last changed in the repository. Read-only.

fetched

Long

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

title

String

The title of the pull request. Read-only.

titlePreview

String

The rendered pull request title. Read-only.

url

String

The link to the pull request in the external version control system. Read-only.

text

String

The pull request description. Read-only. Can be null.

textPreview

String

The rendered pull request description. Read-only.

branch

String

The source branch of the pull request. Read-only. Can be null.

files

Int

The number of files included in the pull request. The value is -1 if the number of files is unknown. Read-only.

issue

Issue

The YouTrack issue the pull request is linked to. Read-only. Can be null.

processor

ChangesProcessor

The version control system that contains the pull request. Read-only.

08 May 2026