Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-13022

API to get list of changed files in a Pull Request

    XMLWordPrintable

    Details

    • Feedback Policy:

      Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Description

      From a CI perspective it would help a lot to simply get a list of the Files Changed from a Pull request using the API.

      Currently there doesn't seem to be a good work around. I can get all commits and then use the changeset from the v1.0 API but this will result in seeing files that were changed then reverted(would not show as changed in the pull request).

      The other option I've been thinking about is using the pullrequest /diff API. But that just dumps back the entire change - unreasonable in large PRs. It also just returns as text rather then something usable (JSON).

      If you look at a pull request in the browser there is a list of Files Changed (with add/removed numbers and number of comments). There needs to be a way to get this list through the API.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            321784ae6fe2 Stephen_Piercey_JOH
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: