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.
I'm using Bamboo version 6.4.1 and would like to retrieve plan as Java Specs. Is there any REST command that returns the Spec?
Hi @hmozaffari,
I just did a quick search through the REST API docs (https://docs.atlassian.com/atlassian-bamboo/REST/6.4.1/) and it doesn't look like there is anything for retriving a plan as java specs.
I can see how that could be challenging to accomplish given that would be a pretty complex object that gets returned.
Sorry I couldn't offer much help here.
-James
Thanks @Jimmy Seddon for looking into this.
Bamboo UI offers the following URL to show the Java Specs. But unfortunately is in HTML format:
/exportSpecs/plan.action?buildKey=<Build-key>
I was hoping to find an underlying REST call but there isn't any.
The main reason I was looking for this API was being able to verify encrypted secret variables. I deal with dozens of Bamboo plans which have encrypted variable. The only way to verify if those variables have correct value is by looking at Specs. Specs show the encrypted value but UI masks it.
I was planning to make multiple REST calls, get all the Specs and and verify variables in all plans.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.