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

Diffstat API not working for commits on Open pull requests; it works for Merged and Declined pull requests.

    XMLWordPrintable

Details

    Description

      Diffstat API is not working for commits on pull requests with status Open and with "project maintainer" username/repository in the URL - it will respond with a 404 (NOT FOUND)

      Take this public repository for example:

      https://api.bitbucket.org/1.0/repositories/atlassian/jiraconnect-ios/changesets/623dd28c5dc2810adbec42c2e960ea95f83ed18b/diffstat (does not work)

      https://api.bitbucket.org/1.0/repositories/jdevenny/jiraconnect-ios-doco/changesets/623dd28c5dc2810adbec42c2e960ea95f83ed18b/diffstat (works perfectly)

      For Merged and Declined pull requests though, either "project maintainer" or "developer" username/repository in the URL works fine. Take this declined pull request commit for example:

      https://api.bitbucket.org/1.0/repositories/atlassian/jiraconnect-ios/changesets/97e351c369976d4dd6f84dcddc021871420fe0c4/diffstat (works perfectly)

      https://api.bitbucket.org/1.0/repositories/booiiing/jiraconnect-ios/changesets/97e351c369976d4dd6f84dcddc021871420fe0c4/diffstat (works perfectly)

      Attachments

        Activity

          People

            Unassigned Unassigned
            gkoh Gideon Koh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: