How to view the tag description on BitBucket?

Renato Lima
Contributor
August 19, 2019

When tagging, BitBucket opens a field to add a description to the tag. Where can I view that description after creating the tag?

image.png

 

6 answers

7 votes
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 19, 2019

Hello @Renato Lima,

Looks like there's currently indeed no view in Bitbucket UI where you can see tag description after you created it. I'll follow up on this with the team: we might've changed some things around displaying commit metadata in a not very consistent manner.

In a local copy of the repository you can see tags along with their descriptions using the following command:

$ git tag -l -n
tag-name This is tag description

  Let me know if you have any questions.

Cheers,
Daniil

Julius Davies [bit-booster.com]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 20, 2019

 

To add to Daniil's answer:

The "description" field when adding a tag is equivalent to setting the message on an annotated tag with the command line.  It's identical do running this command ("-a" creates an annotated tag):

git tag -a -m '<tag description>' <tag>

I was not able to see tag descriptions using "git log -l -n".  These commands worked nicely however:

To just see the tag objects themselves:

git for-each-ref --format="%(refname:short) %(taggerdate) %(subject) %(body)" refs/tags

 

To see the tags alongside the commits they refer to:

git show --tags

 

Similar to Daniil I could not find any way to surface this information in the Bitbucket Server UI.

Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 20, 2019

Similar to Daniil I could not find any way to surface this information in the Bitbucket Server UI.

Not sure if you mistakenly mentioned Bitbucket Server, but I indeed can't find tag messages in Server either. Create tag dialog is similar, i.e. it contains an input field for the tag description, but once created that message is not visible anywhere in UI.

Cheers,
Daniil

Julius Davies [bit-booster.com]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 20, 2019

My mistake - I did not realize this question was tagged with Bitbucket Cloud.

Daniil - are you sure "git log -l -n" can print the annotated tag messages?  I'm not able to make that work in my environment.

Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 20, 2019

This was, in turn, my mistake 😬

I meant git tag -l -n. Will fix it in my answer above. Thanks for surfacing this!

Minh Chau
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 5, 2020

Hi @Daniil Penkin ,

How's it going with displaying the tag description in the Bitbucket Cloud ? Because I still don't see it in the UI yet :( ?

 

Thanks,

Like # people like this
chandan kumar muduli
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 2, 2020

We are also having the same  issue unable to see tag description Bitbucket cloud.

Emil Mocan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 15, 2020

I want to mention that if your description had many lines you will use something like:

git tag -l -n20

Where 20 is for 20 lines of annotation.

 I used this (notice the space between -n and 20)

git tag -l -n 20

and it gave me no results... ha ha!

5 votes
Nicholas Dietz
Contributor
June 22, 2022

Hello, Atlassian!

Is there a feature roadmap? Is this on it?

David Furtney
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 17, 2023

+1

Like # people like this
3 votes
Alexander Smirnoff June 13, 2023

Four years since the topic was started and the simple feature is not implemented yet... Good job, guys! ;) 

Alexis Reyes
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 19, 2023

Big Sigh. Came to this issue feeling hopeful and this is disappointing for something so basic.

Paul
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 22, 2023

Wow... I thought I was being silly not being able to find this in the UI... couldn't imagine something like this would be missing.

peterader
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 31, 2023

It's honestly disappointing when issues raised so many years ago have still not been addressed. Says a lot about the priorities. I bet the payment system has been refactored 14 times since then.

Like Stefan Tichelaar likes this
Tushar Kurjekar February 9, 2024

Hi,

On a same note, I just wanted to check, Can I use tag description in build pipeline script, are there any default variable available similar to BITBUCKET_TAG. right now we are writing tag value in xyz.txt with the help of BITBUCKET_TAG variable in a similar way I want to write the tag description in xyz.txt

3 votes
venkata.rohith
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 19, 2022

Hi @Daniil Penkin ,

Issue status on displaying the tag description in the Bitbucket Cloud ? Because I still don't see it in the UI yet :( ?

Nicholas Williams May 31, 2022

And, indeed, I still do not see tag descriptions in Bitbucket Server, either. There doesn't appear to be any urgency in fixing this issue.

2 votes
Iqbal Adi Nurmansyah
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 26, 2024

we're in the end of Q2 2024, and still no roadmap for this feature? 

2 votes
Nicholas Dietz
Contributor
February 9, 2024

It's been four and a half years waiting with no support for us paying customers. Maybe time to consider if there is better value looking elsewhere?

It works fine on gitlab.

Screenshot_20240209-071540_Chrome.jpg

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events