Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I prevent deletion of tags from Bitbucket cloud verison? Edited

I need to ensure that people on my team are not accidentally deleting the release tags. I tried various branch permissions and attached is one of them.

bitbucket_branch_permissions.PNG 

Despite setting up the branch permission, anyone on the team is able to delete the tag.

I have a similar branch permission setup for master and that seems to be working. Is the problem with the pattern I am using? If so, what is the right pattern?

2 answers

In Server 5.3, we use refs/tags/v/** to prevent deletion. the second * is required.

Hi @tdacox,

This thread is about cloud Bitbucket and cloud Bitbucket does not allow consecutive wildcard usage (i.e., the second * is not allowed).

Like tdacox likes this

Thanks @tdacox !!  This helped me on my server implementation!!

Apparently, that is not supported yet (BB-12083*). 

 

* Please vote if you have not already done so.

Thanks for that information.

Does that mean, there is no way to prevent tag deletion on Bitbucket cloud version today?

Seems like that's the case.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,892 views 0 7
Read article

Community Events

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

Events near you