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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,466,648
Community Members
 
Community Events
176
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

Atlassian Community Events