Bitbucket Data Center API Client
    Preparing search index...

    Interface CreatePullRequestData

    Payload for POST /rest/api/latest/projects/{key}/repos/{slug}/pull-requests.

    interface CreatePullRequestData {
        description?: string;
        draft?: boolean;
        fromRef: PullRequestRefInput;
        reviewers?: { user: { name: string } }[];
        title: string;
        toRef: PullRequestRefInput;
    }
    Index

    Properties

    description?: string
    draft?: boolean

    Create the pull request as a draft

    reviewers?: { user: { name: string } }[]

    Reviewers to add, identified by username

    title: string