Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Migration from API 1.0 to 2.0 (Issue Versions)

Ivor Smorenburg Aguado
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 1, 2019

Hi, I have been using Bitbucket API to keep track of the version using the API 1.0, where I was able to create using a REST Url query and integrated with Jenkins.

After the migration to API 2.0 I found out that creating versions is not allowed anymore.

https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/versions

And I was wondering how can I replicate this behave with the current API, there is also no id in the response of the versions so I can't filter for the last one based on Id or just query one of them. 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events