capabilities.work

Get file change stats for a pull request

One step with Atlassian. We can help you get access.

Look something up

Get file change stats for a pull request

with Atlassian · Software Construction Management

Use Atlassian: its Atlassian Bitbucket Pullrequests API lets you get file change stats for a pull request in a single step (GET /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/diffstat). capabilities.work can help you get signed up and connected.

  • Which files does a pull request touch and how many lines were added or removed?
  • Can I get a summary of changed files for a PR rather than the full diff?
Say it to your AI assistant
  • Get the diffstat for pull request #{pull_request_id} in {workspace}/{repo_slug}.
  • Summarize which files changed and lines added or removed in PR {pull_request_id} of {repo_slug}.
For your developer

GET /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/diffstat in Atlassian Bitbucket Pullrequests API. Full spec on APIs.io.