Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Tag description variable

Tushar Kurjekar February 9, 2024

As we have BITBUCKET_TAG variable where we are using the value of this default variable to write tag in xyz.txt while running build pipeline like this : 

echo -e “Tag : $BITBUCKET_TAG" >>xyz.txt

How Can I write tag description in a similar way so that I can get tag value and tag description in xyz.txt, are there tag description variable present if not any other approach.

Thanks!

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 11, 2024

Hi Tushar,

This is not yet a default variable that is available in Bitbucket Cloud so we would need to raise a feature request with our developers to include it. May I know the use case for this - and may I also have clarification on what is required? Do you mean the tag message that comes with an annotated tag?

 

Cheers!

- Ben (Bitbucket Cloud Support)

Tushar Kurjekar February 12, 2024

Hi Ben,

Thanks for the reply. So right now we are having tag based build and deployment with Bitbucket Pipeline and as a part of build pipeline yml configuration we are running below command as a script to get the tag value and storing this tag value in xyz.txt file for version tracking in a similar way while creating tag we will get option to add tag description and we are looking for to write a tag description in xyz.txt as we are writing tag value.

echo -e “Tag : $BITBUCKET_TAG" >>xyz.txt

and now we are looking for : echo -e “Description : $BITBUCKET_DESCRIPTION" >>xyz.txt

 

Screenshot 2024-02-12 at 10.26.56 PM.png

Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 12, 2024

Hi Tushar,

Thank you for the further details, I've just raised a feature request ticket with our developers. Feel free to Watch this for future updates related to it and Vote for it to imrpvoe its visibility with regard to customer demand:

Unfortunately, the functionality you have described is not yet possible in the product.

Cheers!

- Ben (Bitbucket Cloud Support)

Like # people like this
Tushar Kurjekar February 18, 2024

Thanks!! @Ben

Like Sabine Mayer likes this
Tushar Kurjekar March 7, 2024

Hi @Ben 

Any update on this? we are waiting for this feature. Thanks!

Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 7, 2024

Hi @Tushar Kurjekar 

Unfortunately there is no update at present, please refer to our feature request policy for context as to how feature request tickets are chosen for implementation and follow the ticket I've logged for updates from our devs.

Cheers!

- Ben (Bitbucket Cloud Support)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events