You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
When I tried to switch the button "Enable pipelines", it prompted me to "Two-step verification is required to enable pipelines". After I set up two-step verification, I log out and log in using two-step verification, the prompt is still there.
How to handle it?
Bitbucket uses Atlassian accounts (the ones for https://id.atlassian.com/) for authentication.
At the moment, it is possible to set up 2FA both for a Bitbucket account (from this page: https://bitbucket.org/account/settings/two-step-verification/manage) and also for the linked Atlassian account (from this page: https://id.atlassian.com/manage-profile/security).
In order to enable Pipelines, you need to enable 2FA for the Bitbucket account (instead of the Atlassian account).
It sounds like you may have enabled the Atlassian account 2FA, which is not taken into account when enabling Pipelines.
After you enable Bitbucket 2FA, you may want to disable Atlassian account 2FA, in order to avoid entering a 2FA code twice when logging in to Bitbucket.
@David_Dong2023, I ran into the exact same problem. That's how I found your question.
When I double-checked my 2FA setup up in my account settings, it looked as if I hadn't set it up yet, although I had just logged in using a 2FA code from my authenticator app.
I then scanned the QR code with my authenticator app again. Interestingly, the first time I did it the app set the entry up as ‘Atlassian’ with my email address as user name, the second time it resulted in ‘Bitbucket’ with my Atlassian user name as the user name. I'm pretty sure I did the exact same thing as the first time, but obviously the result was a different one. 🤷🏽
The good news is after the second time setting up 2FA I was able to enable the pipelines in my project.