Apologies legends but I've wasted too much time looking into this and can't find an answer so clearly I'm doing something wrong.
My company is moving to Jira from a hosted Redmine provider who also hosts our repositories. Prior to that we hosted our own git server. I am currently in the process of moving all of our repositories to BitBucket.
After cloning or creating a new repo the git url references my user account.
git clone https://email@example.com/workspace-name/repo-name.git
Looking at the URL format I think I can see the problem but I'm struggling to accept the conclusion. My tumble down the rabbit hole tells me that if I leave the company:
Is this correct?
Surely they can be assigned to / owned by the Organisation we set up in Jira?
Man I hope I'm doing something wrong.
When you clone (or pull from/push to) a repo it is possible to use either HTTPS or SSH protocol.
When you use HTTPS you authenticate with username + password. The clone URL that you get from Bitbucket UI includes the username of the account your are logged in with, this way you won't have to enter your username for authentication every time you clone/pull from/push to the repo.
As you correctly noticed, when a different user logs in with their account, they'll get a clone URL that includes their username.
Regarding ownership of the workspace, if you leave the company you can assign a new administrator from the workspace's Settings > User groups > Open the Administrators user group and add a new admin there. The new admin will be able to remove your account from the admins once you leave the company.
I hope this helps to clarify things. Please feel free to let me know if you have any other questions!
Ok... Some clarity on the URL. I set up an account for another user and we logged in to check. His repo URL shows his username instead:
git clone https://firstname.lastname@example.org/workspace-name/repo-name.git
I think I understand what is happening in the background now. He gets access to the repo through the workspace membership. Sweet.
I'm still unsure about the repos that belong to a workspace then. What is the procedure if I leave?
I simply nominate a new administrator?
Hi everyone, We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events