Azure Connectors Node.js SDK
    Preparing search index...

    Definition: GitPullRequestCreate

    interface GitPullRequestCreate {
        description?: string;
        isDraft?: boolean;
        labels?: Record<string, unknown>[];
        reviewers?: GitPullRequestReviewerRef[];
        sourceRefName: string;
        targetRefName: string;
        title: string;
        workItemRefs?: GitPullRequestWorkItemRef[];
    }
    Index
    description?: string

    The description of the pull request.

    isDraft?: boolean

    Set to true to create the pull request as a draft.

    labels?: Record<string, unknown>[]

    The labels to apply to the pull request.

    The reviewers to add to the pull request.

    sourceRefName: string

    The branch the changes come from, for example refs/heads/my-branch.

    targetRefName: string

    The branch the changes are merged into, for example refs/heads/main.

    title: string

    The title of the pull request.

    workItemRefs?: GitPullRequestWorkItemRef[]

    The work items to link to the pull request.