Represents a Bitbucket Data Center pull request.

interface BitbucketPullRequest {
    author: BitbucketParticipant;
    closed: boolean;
    createdDate: number;
    description?: string;
    fromRef: BitbucketRef;
    id: number;
    links: Record<string, unknown>;
    locked: boolean;
    open: boolean;
    participants: BitbucketParticipant[];
    reviewers: BitbucketParticipant[];
    state: "OPEN" | "DECLINED" | "MERGED";
    title: string;
    toRef: BitbucketRef;
    updatedDate: number;
    version: number;
}

Properties

closed: boolean
createdDate: number
description?: string
fromRef: BitbucketRef
id: number
links: Record<string, unknown>
locked: boolean
open: boolean
participants: BitbucketParticipant[]
state: "OPEN" | "DECLINED" | "MERGED"
title: string
updatedDate: number
version: number