CreateBranchPolicyInput

FieldTypeRequiredDescription
projectReferenceStringNo
nameString!Yes
isEnabledBooleanNoEnable this policy. Null and omission use the true default.
targetBranchPatternStringNo
requiredApprovalsIntNoRequired approval count. Null and omission default to 0; MCP create_branch_policy defaults to 1.
allowSelfApprovalBooleanNoAllow the merger’s approval to count. Null and omission default to true; MCP create_branch_policy defaults to false.
requiredReviewerIds[String!]NoReviewer UUIDs required for merge. Null and omission impose no specific reviewers; an empty list is accepted.

All GraphQL types · Operations