Skip to main content
Issues and PRs > Required approvals
Tom Williams avatar
Written by Tom Williams
Updated over 10 months ago

Dataset: Issues & Pull Requests

Entity: Pull Requests

Field ID: required_approval_count

Type: Integer

Description: The number of approvals this pull request requires before it can be considered approved. For issues, the value is calculated from resolving pull requests.

Source: App (Pull requests) / Calculated (Issues)

Transformation logic:

  • Pull Requests: use the approval settings from the source application. It is defaulted to 1 if null (no approval settings configured).

  • Issues: sum the required approvals of all resolving pull requests. Resolving pull requests are pull requests that reference the issue via auto-closing keywords.

From:

Github (PRs)

branchProtectionRule. requiredApprovingReviewCount

Gitlab (PRs)

merge_request_approvals.
approvals_required

Bitbucket (PRs)

None

JIRA (Issues)

Calculated from resolving PRs

ClickUp (Issues)

Calculated from resolving PRs

Trello (Issues)

Calculated from resolving PRs

Did this answer your question?