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
Hi,
We have a requirement to migrate Bamboo to Azure DevOps. For that we need the list of Fields available in Bamboo. Is there a rest api to achieve it. To be more exact, is there a way to fetch the plan configuration details using api.
The Bamboo REST APIs are neither well documented nor the easiest to work with (primarily XML etc.), but conceptually you can fetch the plan configuration via the /plan resource and its various sub-resources for an individual plan, e.g. /plan/{projectKey}-{buildKey} yields:
<plan expand="actions,stages,branches,variableContext" key="AAWS-APPS" name="Automation with AWS - Build add-ons" shortName="Build apps" shortKey="APPS" type="chain" enabled="true">
<projectKey>AAWS</projectKey>
<projectName>Automation with AWS</projectName>
<project key="AAWS" name="Automation with AWS" description="">
<link href="https://www.example.com/bamboo/rest/api/latest/project/AAWS" rel="self"/>
</project>
<buildName>Build apps</buildName>
<planKey>
<key>AAWS-APPS</key>
</planKey>
<link href="https://www.example.com/bamboo/rest/api/latest/plan/AAWS-APPS" rel="self"/>
<isFavourite>true</isFavourite>
<isActive>false</isActive>
<isBuilding>false</isBuilding>
<averageBuildTimeInSeconds>256.0</averageBuildTimeInSeconds>
<actions start-index="0" max-result="7" size="7"/>
<stages start-index="0" max-result="2" size="2"/>
<branches start-index="0" max-result="12" size="12"/>
<variableContext size="8" max-results="8"/>
</plan>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.