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

Pull request diff end-point returns 302 with missing query parameters

    XMLWordPrintable

Details

    Description

      For example:

      https://bitbucket.org/!api/2.0/repositories/atlassian/stash-auto-unapprove-plugin/pullrequests/21/diff?context=0

      redirects to:

      https://bitbucket.org/!api/2.0/repositories/atlassian/stash-auto-unapprove-plugin/diff/gsylviedavies/stash-auto-unapprove-plugin:acfeaf6dc2e7%0D37b3eed9d931

      But drops the context=0 parameter.

      This will break existing integrations that rely on any context parameters passed to the pull request diff end-point.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tpettersen Tim Pettersen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: