Set the default branch for a repository

Issue #9 new
Christian Herold created an issue

Hi,

we need to set the default branch according to https://developer.atlassian.com/static/rest/stash/3.9.2/stash-rest.html#idp3390416

Are there already plans to implement it?

Kind regards,

Christian

Comments (1)

  1. Piotr Swiecicki

    Hi @Mobilant , Apologies for late response, we are not planning to add such method at the moment I'm afraid. There is a method implemented to retrieve default branch (see com.atlassian.stash.rest.client.core.StashClientImpl#getRepositoryDefaultBranch), consider raising a pull request that would set default branch so we can merge it into this library. Kind regards, Piotr

  2. Log in to comment