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
fieldsrequest 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. |
author | 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 | |
userNotFoundReason | Byte | The code of the reason why the pull request author could not be associated with a YouTrack user account. |
hubUserNotFoundReason | Byte | The code of the reason why the pull request author could not be associated with a Hub user account. |
idExternal | String | The pull request ID in the external version control system. |
idReadable | String | The human-readable pull request ID. |
date | DateTime | The date when the pull request was created or last changed in the repository. |
fetched | Long | The date when the pull request was fetched from the repository to YouTrack. |
title | String | The title of the pull request. |
titlePreview | String | The rendered pull request title. |
url | String | The link to the pull request in the external version control system. |
text | String | The pull request description. |
textPreview | String | The rendered pull request description. |
branch | String | The source branch of the pull request. |
files | Int | The number of files included in the pull request. The value is -1 if the number of files is unknown. |
issue | The YouTrack issue the pull request is linked to. | |
processor | The version control system that contains the pull request. |