A user marks a pull request as changes requested. This payload comes with an event key of pr:reviewer:needs_work.

interface PRReviewerChangesRequested {
    actor: pr.reviewerChangesRequested.Actor;
    date: string;
    eventKey: "pr:reviewer:changes_requested";
    participant: pr.reviewerChangesRequested.Participant;
    previousStatus: string;
    pullRequest: pr.reviewerChangesRequested.PullRequest;
}

Properties

The user who marked the PR as "Changes requested".

date: string
eventKey: "pr:reviewer:changes_requested"

Details of the PR participant status of the user making the change.

previousStatus: string

The state of the approval before this change.

Details of the pull request marked "Changes requested".