Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

remote: error: cannot lock ref 'refs/heads/bugfix

nutmix November 11, 2024 edited

Our organization uses bitbucket cloud for git hosting.  we have very many projects and users.

Out of the blue, none of us can create and push any branch which start with "bugfix/", e.g. "bugfix/CRM-xxx_some_issue".

We can create and push feature/xxx  etc. 

We have many branches which start with bugfix/ but cant create and push any new ones.

The error is:

$ git push origin bugfix/CRM-xxx_some_fix

remote: error: cannot lock ref 'refs/heads/bugfix/CRM-xxx_some_fix': 'refs/heads/bugfix' exists, cannot crate 'refs/heads/bugfix/CRM-xxx_some_fix'

All of use devs get this error no matter what comes after bugfix/

Note, we cant contact support to raise a support ticket, as our 25,000  employee company cant login to the alassian support portal with our MS logins what we use to login to bit bucket, jira or confluence, we get this error:

Sorry, but we’re having trouble with signing you in.

AADSTS7000112: Application '46cdaa3f-9339-4b60-bf0xxx'(Atlassian) is disabled.
As we cant raise support tickets, we can only hope to solve this via community forum.
Any suggestions?

 

The error could be due to the fact that someone created a branch called "bugfix" some time ago. Presumably we cant just delete this branch, as it might have been merged.

 

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 12, 2024

Hello @nutmix ,

and welcome to the Community!

I wasn't able to identify the workspace and repository you're talking about because it seems you have posted this question using a different email other than your company's email due to the issue you mentioned with the login.

We would need to access your repository to check whether there's a lockfile in the backend preventing the creation of the branch, and for that we'll need a support ticket.

The issue you're receiving to open a support ticket is likely because your organization has disabled the Atlassian application on Microsoft Entra (your identify provider- IdP) : 

You'll need to reach out to your company's IT team that manages the Identity Provider configuration to enable your access to that application so you can open a support ticket with us.

Once that is configured on your company's IdP, you should be able to access the support portal and raise a ticket with us.

Thank you, @nutmix !

Patrik S

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events