Optional
_linksLinks to other related objects.
Optional
artifactA string which uniquely identifies this pull request. To generate an artifact ID for a pull request, use this template: vstfs:///Git/PullRequestId/{projectId}/{repositoryId}/{pullRequestId}
Optional
autoIf set, auto-complete is enabled for this pull request and this is the identity that enabled it.
Optional
closedThe user who closed the pull request.
Optional
closedThe date when the pull request was closed (completed, abandoned, or merged externally).
Optional
codeThe code review ID of the pull request. Used internally.
Optional
commitsThe commits contained in the pull request.
Optional
completionOptions which affect how the pull request will be merged when it is completed.
Optional
completionThe most recent date at which the pull request entered the queue to be completed. Used internally.
Optional
createdThe identity of the user who created the pull request.
Optional
creationThe date when the pull request was created.
Optional
descriptionThe description of the pull request.
Optional
forkIf this is a PR from a fork this will contain information about its source.
Optional
hasMultiple mergebases warning
Optional
isDraft / WIP pull request.
Optional
labelsThe labels associated with the pull request.
Optional
lastThe commit of the most recent pull request merge. If empty, the most recent merge is in progress or was unsuccessful.
Optional
lastThe commit at the head of the source branch at the time of the last pull request merge.
Optional
lastThe commit at the head of the target branch at the time of the last pull request merge.
Optional
mergeIf set, pull request merge failed for this reason.
Optional
mergeThe type of failure (if any) of the pull request merge.
Optional
mergeThe ID of the job used to run the pull request merge. Used internally.
Optional
mergeOptions used when the pull request merge runs. These are separate from completion options since completion happens only once and a new merge will run every time the source branch of the pull request changes.
Optional
mergeThe current status of the pull request merge.
Optional
pullThe ID of the pull request.
Optional
remoteUsed internally.
Optional
repositoryThe repository containing the target branch of the pull request.
Optional
reviewersA list of reviewers on the pull request along with the state of their votes.
Optional
sourceThe name of the source branch of the pull request.
Optional
statusThe status of the pull request.
Optional
supportsIf true, this pull request supports multiple iterations. Iteration support means individual pushes to the source branch of the pull request can be reviewed and comments left in one iteration will be tracked across future iterations.
Optional
targetThe name of the target branch of the pull request.
Optional
titleThe title of the pull request.
Optional
urlUsed internally.
Optional
workAny work item references associated with this pull request.
Represents all the data associated with a pull request.