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

Get commit/{revision} API does not accept branch names with "/" (BB-10992)

      My branch is called "feature/test" and no matter how I try to hit the:

      GET https://bitbucket.org/api/2.0/repositories/{owner}/{repo_slug}/commit/{revision}
      

      API with this, it will not bend. Replacing the "/" with %2F does not work.

      Google helped me find https://bitbucket.org/site/master/issue/408/branches-and-tags-with-slashes-in-their where this seems to have been fixed for every other API call except this one.

      I'd like to know if there is a plan for this to be fixed, or if there is another way I can get the commit SHA for the tip of a branch whose name has a slash.

            [BCLOUD-9969] Get commit/{revision} API does not accept branch names with "/" (BB-10992)

            SET Analytics Bot made changes -
            UIS Original: 1940 New: 1939
            SET Analytics Bot made changes -
            UIS Original: 1939 New: 1940
            SET Analytics Bot made changes -
            UIS Original: 1938 New: 1939
            SET Analytics Bot made changes -
            UIS Original: 1937 New: 1938
            SET Analytics Bot made changes -
            UIS Original: 1926 New: 1937
            SET Analytics Bot made changes -
            UIS Original: 1935 New: 1926
            SET Analytics Bot made changes -
            UIS Original: 3869 New: 1935
            SET Analytics Bot made changes -
            UIS Original: 3866 New: 3869
            SET Analytics Bot made changes -
            UIS Original: 3864 New: 3866
            SET Analytics Bot made changes -
            UIS Original: 3844 New: 3864

              Unassigned Unassigned
              bd7e348e8bff Ragesh Krishna
              Affected customers:
              17 This affects my team
              Watchers:
              30 Start watching this issue

                Created:
                Updated: