/bitbucket/repositories/pullrequests
List pull requests of a Bitbucket repository by ‘workspace/repo’ or repository URL
Price: 10 credits per 50 results
💡 AI Hint: List the pull requests of a Bitbucket repository by ‘workspace/repo’ slug or repository URL, filtered by state (open, merged, declined, superseded) and sorted by updated or created date. Returns id, title, description, state, draft flag, comment/task counts, author, source and destination branches, merge commit, and timestamps for each pull request.
⚠️ Common errors: 412: Repository not found
Authorizations
API token from the dashboard
Headers
Body
Repository in 'workspace/repo' format or a Bitbucket repository URL
1"atlassian/aui"
"https://bitbucket.org/atlassian/aui"
Number of pull requests to return
x >= 1Max scrapping execution timeout (in seconds)
20 <= x <= 1500Filter pull requests by state
OPEN, MERGED, DECLINED, SUPERSEDED Bitbucket query filter over pull request fields, e.g. 'author.nickname="jdoe"'
"state=\"MERGED\""
Sort pull requests by this field
-updated_on, updated_on, -created_on, created_on Response
Successful Response