Hello.
We have about 40 pojects in our organization. Projects have been initialised by different users through time and one of the team members has left and their account was removed. Not knowing, this resulted in their initialised projects getting their tokens also removed. What is the correct way for another user to generate tokens for existing projects?
What I have done atm, I went to my account, security and generate “Analyse {repo name}” token for each repository, that was affected. Took the generated token and changed the value of “SONAR_TOKEN” at bitbucket repo variables. Everything works again.
This process does not seem the most efficient, considering that team members come and go. Yes we could generate a “tech” user that creates all the project tokens, but this also means that when a member leaves, the password should be changed for security purposes. Would it not be better, when a project/repository has its token bound to it, not the user.