Bitbucket Data Center API Client
    Preparing search index...

    Interface BitbucketPullRequestActivity

    Represents a single activity entry on a Bitbucket Data Center pull request.

    The optional fields are populated depending on action:

    • COMMENTEDcomment is present
    • RESCOPEDaddedCommits, removedCommits, fromHash, toHash, etc. are present
    • APPROVED / UNAPPROVED / NEEDS_WORKparticipant is present
    interface BitbucketPullRequestActivity {
        action: PullRequestActivityAction;
        addedCommits?: BitbucketCommit[];
        comment?: BitbucketPullRequestComment;
        createdDate: number;
        fromHash?: string;
        id: number;
        participant?: BitbucketParticipant;
        previousFromHash?: string;
        previousToHash?: string;
        removedCommits?: BitbucketCommit[];
        toHash?: string;
        user: BitbucketActivityUser;
    }
    Index

    Properties

    addedCommits?: BitbucketCommit[]

    Present when action is 'RESCOPED' — commits added to the PR

    Present when action is 'COMMENTED'

    createdDate: number
    fromHash?: string
    id: number
    participant?: BitbucketParticipant

    Present when action is 'APPROVED', 'UNAPPROVED', or 'NEEDS_WORK'

    previousFromHash?: string
    previousToHash?: string
    removedCommits?: BitbucketCommit[]

    Present when action is 'RESCOPED' — commits removed from the PR

    toHash?: string