Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,295,848
Community Members
 
Community Events
165
Community Groups

Bitbucket Commits List Doesn't Show All Tags

Edited

We have a problem with displaying the tags in the commits list. We have the scenario that in the Bitbucket UI less tags are shown than the actual number (in our specific case 2 of 4 tags are only displayed). 

But if you check it on the Git Terminal all tags are correctly displayed.

 

Bitbucket Server Version:

Atlassian Bitbucket v7.12.1

 

Can anyone help?

1 answer

0 votes

What is "actual number"? Is this what you see in your local clone?

(If so, then maybe you just forgot to push the recently tags to Bitbucket. A plain vanilla push doesn't push tags, you have to use "git push --tags".)

Hi Aron,

I'm w/ @Duc Nguyen Nhu 's team.

When we clone the repo from Bitbucket to an empty folder and the call ``git log`` on a terminal, Git (2.32.0.windows.1) shows 4 tags for that commit. Bitbucket UI, however, only shows 2.

The commit SHA is the same on both the terminal and Bitbucket UI. So is the message. Only 2 tags are missing on Bitbucket UI.

(We also checked this on another Git client - Eclipse. Which also shows 4 tags).

 

i.e. the entire Git repo didn't exist before on the local machine. It came all - including tags - from the Bitbucket server.

Hmm, if I were you, I'd compare a tag that is shown against another that isn't and would try to find a common characteristic. (For example, one may be a lightweight tag and the other an annotated one... Dunno.)

Like Ingo Mohr likes this

Good point. We'll check that. Thx :)

Hi Aron,

thanks for the hint. I checked all tags if they are lightweight or annotated tags. Referring to the initial post only 1 of the 4 tags is a lightweight tag but it seems that there is no difference in what is displayed. Both can be shown in the commits view (verified it by checking former lightweight tags which are also displayed).

Do you know if there is a limitation of number of displayed tags?

displayed tags.png

I'm quite sure that there is a limit on the number of tags displayed, but I can't imagine this being as low as 2...

Do you have any idea how I can find out about the limit on the number of tags or who might know this?

 

thanks in advance.

If you have a valid license for Bitbucket, you have access to its source code, so you can check it for yourself. But, I guess, it's faster to open a ticket at Atlassian as you are eligible for commercial support.

Like Duc Nguyen Nhu likes this

Suggest an answer

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

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,170 views 2 9
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