Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,254,242
Community Members
 
Community Events
164
Community Groups

bamboo rest api v6.9.0 end point /deploy/version/{deploymentVersionId}/status not working

Edited

Hi,

we are using bamboo 6.9.0 build 60909 and we are using bamboo rest api.
I used this end point do collection versions for a deployment project
https://docs.atlassian.com/atlassian-bamboo/REST/6.9.0/#d2e3660
/rest/api/latest/deploy/project/481296387/versions
here is sample of the answer:
{
"id": 482377824,
"name": "branch:release-build:1-deployment:431",
"creationDate": 1619711358513,
"creatorUserName": "fcuret",
"items": [],
"operations": {
"canView": true,
"canEdit": true,
"canDelete": true,
"allowedToExecute": false,
"canExecute": false,
"allowedToCreateVersion": true,
"allowedToSetVersionStatus": true
},
"creatorDisplayName": "Florent Curet",
"creatorGravatarUrl": "https://secure.gravatar.com/avatar/e05c1feda2a86fb2b06d867ef761e48c.jpg?r=g&s=24&d=mm",
"planBranchName": "release",
"ageZeroPoint": 1619774322218
}
as an item part of a versions json array
all good with this call.

then I try to get the status related to this version id with
https://docs.atlassian.com/atlassian-bamboo/REST/6.9.0/#d2e811
/rest/api/latest/deploy/version/482377824/status
but the answer was
{"message":"Deployment version with id 482,377,824 not found","status-code":404}

In bamboo client, I think the equivalent call is
/deploy/viewDeploymentVersion.action?versionId=482377824
which works

Any idea what I am doing wrong with the /deploy/version/{deploymentVersionId}/status end point, please?

best regards and thanks for reading,

Florent Curet

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

660 views 3 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you