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: 3844 New: 3864
            SET Analytics Bot made changes -
            UIS Original: 3862 New: 3844
            SET Analytics Bot made changes -
            UIS Original: 3841 New: 3862
            SET Analytics Bot made changes -
            UIS Original: 3859 New: 3841
            SET Analytics Bot made changes -
            UIS Original: 3855 New: 3859
            SET Analytics Bot made changes -
            UIS Original: 3854 New: 3855
            SET Analytics Bot made changes -
            UIS Original: 3853 New: 3854
            SET Analytics Bot made changes -
            UIS Original: 3851 New: 3853
            SET Analytics Bot made changes -
            UIS Original: 3848 New: 3851
            SET Analytics Bot made changes -
            UIS Original: 3847 New: 3848

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

                Created:
                Updated: