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

Is there a way to find all the jobs currently under my bamboo installation

I want to find a inventory of all the builds that are currently running on my Bamboo installation. 

Also I would like to know the linked repository for these build jobs. 

[ if it is already documented then do please point me in the right direction. I am newbie to bamboo. ]

1 answer

you might want to use rest api for that one.

/rest/api/latest/plan - list all bamboo plans

iterate the result then per plan get the latest build result like

/rest/api/latest/result/{bamboo plan key here}/latest?expand=vcsRevisions.vcsRevision,plan.stages.stage.plans.plan

iterate the result again and if there's a result for vcsRevisionKey, then that should be linked to a repo and dig to vcsRevision and you'll find the repository name.example-vcsrevision-repo.png

hope that'll give you on what you're looking for

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...

214 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