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.
Hello, Atlassian!
Is there a feature roadmap? Is this on it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+1
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.
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
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.
we're in the end of Q2 2024, and still no roadmap for this feature?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.