For branch builds just pass the branch build key which is normally just the parent key with the branch id appended.
So if your parent key is BUILD-FULL your branch key will be BUILD-FULL0.
To script this better just expand the branches in the plan REST CALL to get the key name.
I'm still conviced that there should be an endpoint for all running builds.
We are using Atlasboard to show stuff on a screen in our office, and we want (beneath others) to show all currently running builds.
Don't want to iterate over all Projects or Plans to get this information...
If you just want to see active builds visually you can use the Build Activity Screen in Bamboo 5. Its not pretty like the wallboard but it will show you everything running as well as agent usage:
Build -> Build Activity
I'd like to inform you that in next few weeks I am going to release my package on npm which exposes API with all builds information like what is currently building, what is in the queue, how looks recent builds etc.
In the first release frontend side (I will make something like wallboard) and backend will be in the one package, but in future I think that I will split package into two standalone repos: backend - api, frontend. Cross your fingers
I think this might be what you are looking for:
wget -q -O agent.txt --http-user=%LOGIN% --http-password=%PASSWORD% "http://localhost:8085/rest/api/latest/agent?os_authType=basic"
The output is json and shows what the agents are currently doing. In particular there is an element 'busy' that will be true or false for each agent:
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in talking to 20 people planning t...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs