Tag filter in tags overview


I noticed my tags does not filter properly for two-digits tag

e.g. 6.18.1 is shown before 6.2.0,

18 should certainly be after 2 in my version number, although the bitbucket filter consider 1 to be before 2, therefore place 18 before 2 (only the first digit of the tag number is compared to order it)

Is there a workaround, or any update planned ?

Thanks a lot smile


5 answers

1 accepted

This widget could not be displayed.

As recommended by @Seth , i open'd a request because at the moment there is no option for such ordering.




Thank you for the help.

Bryan Turner Atlassian Team Oct 06, 2016

That issue was created for Bitbucket Server, not Bitbucket Cloud (bitbucket.org). An equivalent issue already existed for Bitbucket Cloud in their issue tracker. I've commented on BSERV-9214 with this correction as well.

When discussing Bitbucket Cloud, issues should be raised here, not in the BSERV project on jira.atlassian.com.

This widget could not be displayed.

The tags are being ordered alphabetically, so 1 comes before 2. If you get up to 6.20.0, the 0 in 20 will come later than the . in 2.0, so it will be listed after.

Sure, the ordering is obvious to us, but by normal programming standards, "6.18.1" is NOT numeric (it's a series of numbers separated by a character that itself could be numeric). Sure Bitbucket could program a specific exception for version numbers in that format (submit a feature request at jira.atlassian.com if you like), but it's not the only possible version number format out there. The git book itself would use "v6.18.1" for the tag (https://git-scm.com/book/en/v2/Git-Basics-Tagging), and my company would use "Release6_18_1".

If you want to force the tags to get ordered correctly, you need to predict the maximum number of digits for each part of you version tag, and 0-pad appropriately (06.18.001 and 06.02.000 would get ordered the way you want)

Thank you Seth for the detailed answered, i now understand why they would use it here.

However, I still think the sequencial version numbering is so common nowadays that there would be an option to display the order that way on bitbucket.

I'll follow your advice and submit a request, although considering the relatively low aggregate value that it brings to the table, i'm not really sure it's going to work.

This widget could not be displayed.

It would be nice to have an option for supporting the precedence rules from Semantic Versioning.

How does one submit such a feature request?


This widget could not be displayed.


Post a link to your FR as an answer to this question. That'll help others find and vote for it.

This widget could not be displayed.

https://jira.atlassian.com/browse/BSERV-9214 : I created the request, thanks again for the help Seth and Kim.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,193 views 8 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you