I have a butbucket server installed version (5.12.0). I would like to push/pull/fetch files from server using rest API. Is that possible? If not what is the alternate way achieve the same pragmatically?
Thanks,
Nikhil
Hi Nikhil,
Welcome to the Atlassian Community.
Push/pull/fetch are Git commands, not Bitbucket, so all you need to do is use those Git commands in your script.
Hi Mikael,
hummmm. I am trying to understand what you just said. So what you are saying is that I just work with local git (in code) which in turn work with remote repo which is hosted on the on prem server (Bitbucket Server). Is that correct?
Again thank you very much for a quick response.
Thanks,
Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, that is correct.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anton,
Thanks for a quick response. API 2.0 are not available on "On prem" server. Or atleast I am not aware of how to enable them. I tested API 1.0 works fine but they do not offer commit/pull and etc.
Thanks,
Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.