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

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

Asha Kumari September 27, 2018

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

1 vote
tdacox May 6, 2019

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

Shuhrat Dehkanov May 6, 2019

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
rgleim February 11, 2020

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

0 votes
Shuhrat Dehkanov September 28, 2018

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

 

* Please vote if you have not already done so.

Asha Kumari September 28, 2018

Thanks for that information.

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

Shuhrat Dehkanov September 28, 2018

Seems like that's the case.

Asha Kumari September 28, 2018

Thank you

Newthon Junior September 8, 2023

I can believe that Bitbucket Cloud can't prevent tag deletion yet, Github is in front of bitbucket

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events