Forums

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

how to get the build number for a deployment release using BAMBOO REST API

Kalaivanan Shunmugaraj
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!
June 12, 2019

So far, i looked at 

/deploy/projectVersioning/{deploymentProjectId}/variables

/deploy/version/{deploymentVersionId}/status

/deploy/project/{deploymentProjectID}/versions

deploy/environment/{environmentID}/results

but nothing seems to have the build number

1 answer

0 votes
Jimmy Seddon
Community Champion
June 12, 2019

Hi @Kalaivanan Shunmugaraj,

Welcome to the Community!

I believe you are correct in that there is no direct way to get a build number from the release version of a deployment project/environment.

Can you please provide a bit more detail about what you are trying to accomplish?

There might be alternative ways to get to the same results.

Thanks!

-James

Kalaivanan Shunmugaraj
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!
June 12, 2019

Hi @Jimmy Seddon ,

I am trying to fetch the list of commit went in the release and also the corresponding JIRA issues

Something like a diff from the last release and current release

I get commit and issues from this /plan/plankey/buildnumber. 

How do I know what is the build number used in the release

Jimmy Seddon
Community Champion
June 14, 2019

Hi @Kalaivanan Shunmugaraj,

I've been looking around and racking my brain for alternatives and I can't think of anything that might be able to help you immediately sorry.

My best suggestion at this point would be to log a feature suggestion at https://jira.atlassian.com/secure/Dashboard.jspa

-James

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events