Skip to main content
objectGitHubPullRequest

Implements

Fields

Source-control provider for this pull request.

id
ID!

Stable identifier for this GitHub pull request.

number
Int!

The number associated with this GitHub pull request.

title
String!

Human-readable title for this GitHub pull request.

url
String!

URL for this GitHub pull request.

repositoryGithubId
ID!

Identifier of the related repository GitHub.

repositoryNameWithOwner
String!

The repository name with owner associated with this GitHub pull request.

repositoryUrl
String!

URL for this GitHub pull request.

labels
[String!]!

Labels associated with this GitHub pull request.

jiraKey
String

The Jira key associated with this GitHub pull request. May be null when unavailable or not applicable.

pipelineStatus

The pipeline status associated with this GitHub pull request.

pipelines

Pipelines associated with this GitHub pull request.

pipelineRevision
Int!

The pipeline revision associated with this GitHub pull request.

reviewDecision

The review decision associated with this GitHub pull request.

unresolvedReviewThreadCount
Int!

Number of unresolved review threads.

Current state of this GitHub pull request.

isDraft
Boolean!

Whether this GitHub pull request is draft.

mergeable
String!

The mergeable associated with this GitHub pull request.

mergeStateStatus
String!

The merge state status associated with this GitHub pull request.

autoMergeEnabled
Boolean!

Whether the auto merge enabled condition is true for this GitHub pull request.

viewerCanEnableAutoMerge
Boolean!

Whether the viewer can enable auto merge condition is true for this GitHub pull request.

viewerCanDisableAutoMerge
Boolean!

Whether the viewer can disable auto merge condition is true for this GitHub pull request.

headRefOid
String!

The head ref oid associated with this GitHub pull request.

headRefName
String!

The head ref name associated with this GitHub pull request.

worktreeId
ID

Identifier of the related worktree. May be null when unavailable or not applicable.

worktreeHighlightColor
String

The worktree highlight color associated with this GitHub pull request. May be null when unavailable or not applicable.

createdAt
String!

ISO 8601 timestamp when this GitHub pull request was created.