OptionaladdedPresent when action is 'RESCOPED' — commits added to the PR
OptionalcommentPresent when action is 'COMMENTED'
OptionalfromOptionalparticipantPresent when action is 'APPROVED', 'UNAPPROVED', or 'NEEDS_WORK'
OptionalpreviousOptionalpreviousOptionalremovedPresent when action is 'RESCOPED' — commits removed from the PR
Optionalto
Represents a single activity entry on a Bitbucket Data Center pull request.
The optional fields are populated depending on
action:COMMENTED→commentis presentRESCOPED→addedCommits,removedCommits,fromHash,toHash, etc. are presentAPPROVED/UNAPPROVED/NEEDS_WORK→participantis present