You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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