How do I set capability requirements for deployment tasks?

I see "# agents have the capabilities to run this deployment" and in the Agents page for the environment it says "If you do not assign an agent to this deployment, one will be chosen at run time according to standard requirement/capability mappings." Yet, there does not seem to be a way to set the requirements for a deployment. This is a problem because not all of our connected agents are capable of deploying. Using the option to dedicate agent to an environment is totally infeasable because it's a huge waste of an agent license ("NOTE: By adding an agent to this list, it will no longer execute any build jobs.").

6 answers

1 accepted

Hi William,

Yes this is currently a limitation where there is no an explicit waay to define deployment requirements. we have an open feature request at which is currently within our radar. Please add your self as a watcher for updates.



The ticket is resolved in version 5.13


I went through the same "missing feature" lately and I was wondering what were your plans regarding it?

I see the issue has a minor priority, do you know when you will deliver it?



I'm irritated by the fact that a core feature (defining requirements) is not implemented the way it's done in build plans?

Deployment projects should be able to adopt the requirements of the build plan OR at least check the capabilities of the agent? The latter does not work as well.

Any chance this will be fixed?


0 votes

There is a plugin that achieves this: Requirement for Deployments. Obviously this will only be helpful for self-hosted Bamboo instances (not Bamboo Cloud, where plugins cannot be installed).

0 votes

The functionality has been added to Bamboo in version 5.13 

To solve this problem, I added an Executable Capability of the type Command to my targeted build servers (only they have this capability).

The command is a simple shell script which echos out "I'm special" smile

Then on any CI or CD job, you can add a Command task which runs this command. This causes Bamboo to identify this as a requirement for the job which only certain build servers meet.

This works on the hosted or cloudy versions of Bamboo.


Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

4,355 views 20 13
View question

Atlassian User Groups

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!

Find my local user group

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

Groups near you