bitbucket_pulls

Details about Bitbucket pull requests

id

Primary key
Unique identifier for the row.

source_id

Foreign key
ID of the pull request in Bitbucket

repository_id

Foreign key
ID of the repository to which the pull request belongs

user_id

Foreign key
ID of the user who authored the pull request

title

string
Title of the pull request

state

string
One of: OPEN, MERGED, DECLINED, SUPERSEDED

merged_at

date
Timestamp of when the pull request is merged

source_branch

string
Name of the branch with the pull request changes

target_branch

string
Name of the branch the pull request is being merged in to

merge_commit_sha

string
Commit SHA of the merge

draft

boolean
Boolean indicating whether or not the pull request is marked as a "draft" request.

ready_for_review

date
Date at which the pull request was marked as ready-for-review (i.e., converted from draft state).

created_at

date
Timestamp of when the pull request creation

updated_at

date
Timestamp of when the pull request was last updated

closed_at

date
Timestamp of when the pull request was closed

open_to_merge

number
Difference (in seconds) between merged_at and created_at

open_to_first_review

number
Difference (in seconds) between first review creation and created_at of pull request

open_to_first_approval

number
Difference (in seconds) between first approval and created_at of pull request

source_url

string
URL of Bitbucket pull request

additions

number
Number of additions in the pull request

deletions

number
Number of deletions in the pull request