Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

What REST API command returns Bamboo Specs?

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?

1 answer

0 votes
Jimmy Seddon Community Leader May 16, 2019

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.

Suggest an answer

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

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

213 views 0 4
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