You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
When tagging, BitBucket opens a field to add a description to the tag. Where can I view that description after creating the tag?
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This was, in turn, my mistake 😬
I meant git tag -l -n. Will fix it in my answer above. Thanks for surfacing this!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are also having the same issue unable to see tag description Bitbucket cloud.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 :( ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Four years since the topic was started and the simple feature is not implemented yet... Good job, guys! ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Big Sigh. Came to this issue feeling hopeful and this is disappointing for something so basic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.