I read this
https://developer.atlassian.com/static/rest/stash/3.11.1/stash-branch-utils-rest.html
I am trying to get the branches associated with a specific commit. However, it does not seem to work with personal projects...
This does not work (gives me a 404 error):
But this works:
The only difference is the project key in one case: '/projects/Project_key/'
And the user project in the other case: '/users/MyUser/'
Hi Matthieu,
The structure of the command will remain the same, except that for the personal project of your user you just need to type as ~username - in Stash, personal projects are actually preceded by a tilde (~).
So, in your case, the command will be: https://stash-server.org/rest/branch-utils/1.0/projects/~MyUser/repos/MyRepo/branches/info/6301fc06a6d2f2171ca817f7d17eecb0889fcf23
Gustavo Refosco
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.