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?


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 Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,066 views 0 5
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot