-
Bug
-
Resolution: Unresolved
-
Low
-
6
-
3,848
-
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.
- is duplicated by
-
BCLOUD-14674 src endpoint(API 2.0) doesn't support branch name contains a slash symbol
-
- Closed
-
-
BCLOUD-15358 REST API 2.0 to get raw content of an individual file on fails in case of slash in the branch name.
-
- Closed
-
Hello,
please check this PR:
fix: error fetching sha for branch name with slash in it by sushdive · Pull Request #295 · jenkins-x/go-scm · GitHub
I remember fixing this issue for go-scm