Reviews > State
Tom Azernour avatar
Written by Tom Azernour
Updated over a week ago

Dataset: Reviews from pull requests

Entity: Pull Request Review

Field ID: state

Type: Select list

Description: The state of the review

  • APPROVED the review approves the changes made in the pull request

  • CHANGES_REQUESTED the review requests some changes to be made in the pull request (GitHub/Bitbucket).

  • COMMENTED the review is informational and does not intend to approve nor reject the pull request (GitHub only).

  • DISMISSED the review has been dismissed and is no longer applicable (GitHub only).

  • PENDING the review is in progress but has not been submitted yet (GitHub only).

Source: App

From:

Github (Reviews)

state

Mapping
​APPROVED => APPROVED

CHANGES_REQUESTED => CHANGES_REQUESTED

COMMENTED => COMMENTED

DISMISSED => DISMISSED

PENDING => PENDING

Gitlab (MRs)

Always set to APPROVED (only approving reviews are exposed on GitLab)

Bitbucket (PRs)

pull_request.participants.*.state
​

Mapping

approved => APPROVED
​changes_requested => CHANGES_REQUESTED

Did this answer your question?