Hey,
it seems as of today the handling of Bittbucket tabs via API it is still undoable.
Managing tag it is very importan in a CD/CI context. A
Is there any feature request open ?
As anyone found a solution ?
My only workaround to achieve this is is via manual script.
It would be awesome to be able to write a push-now! button and fire a full realese of a branch + tag
Andrea
Hi Andrea, welcome to the Community!
What would you like to achieve? You can both get and post tags by using the API, for more information you can check https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/refs/tags.
Would that suit your needs?
Kind regards,
Ana
Many thanks Ana, I was cofused where the API was located.
That solved my needs.
Andrea
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ana Retamal The documentation you pointed is not for Enterprise. Where can I find the one specifically for Enterprise?
I have to create Tags using Bitbucket API for a private enterprise repo.
I was able to fetch tags by using
GET {my-private-bitbucket-server}/rest/api/latest/projects/COC/repos/cocoa_ios/tags
However, when I try to do a POST
GET {my-private-bitbucket-server}/rest/api/latest/projects/COC/repos/cocoa_ios/tags
with the body
{
"name" : "1.0.0-test-tag",
"target" : {
"hash" : "<some hash value>"
}
}
it doesn't work
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.