Skip to main content
QUERY
githubPullRequestMergeOptions(worktreeId: ID, source: GitHubRequestSource!, owner: String!, name: String!, number: Int!): GitHubPullRequestMergeOptions!

Arguments

worktreeId
ID

Identifier of the linked worktree used to resolve merge defaults and follow-up actions.

source

The source used to filter or perform the operation.

owner
String!
required

The owner used to filter or perform the operation.

name
String!
required

The name used to filter or perform the operation.

number
Int!
required

The number used to filter or perform the operation.

defaultMethod

The merge method selected by default. May be null when the repository has no available merge method.

defaultMoveTicketToDone
Boolean!

Whether moving the linked Jira ticket to Done is selected by default.

defaultDeleteWorktree
Boolean!

Whether deleting the linked worktree after merge is selected by default.

worktreeId
ID

Identifier of the linked worktree. May be null when no matching worktree is available.

worktreeFolder
String

Filesystem path of the linked worktree. May be null when no matching worktree is available.

canDeleteWorktree
Boolean!

Whether the linked worktree can be deleted after merge.

ticketKey
String

Key of the linked Jira ticket. May be null when no ticket can be resolved.

ticketDoneStatusConfigured
Boolean!

Whether the linked Jira project's Done status is configured.

availableMethods

Available methods associated with this GitHub pull request merge options.

commitEmails
[String!]!

Commit emails associated with this GitHub pull request merge options.

defaultCommitEmail
String

The default commit email associated with this GitHub pull request merge options. May be null when unavailable or not applicable.

defaultCommitHeadline
String!

The default commit headline associated with this GitHub pull request merge options.

defaultCommitBody
String!

The default commit body associated with this GitHub pull request merge options.

canMerge
Boolean!

Whether this GitHub pull request merge options can merge.

canEnableAutoMerge
Boolean!

Whether this GitHub pull request merge options can enable auto merge.

autoMergeEnabled
Boolean!

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

viewerCanDisableAutoMerge
Boolean!

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

mergeStateStatus
String!

The merge state status associated with this GitHub pull request merge options.

headRefOid
String!

The head ref oid associated with this GitHub pull request merge options.

blockedReason
String

The blocked reason associated with this GitHub pull request merge options. May be null when unavailable or not applicable.

Query
Variables
Response