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

This widget could not be displayed.

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

This widget could not be displayed.


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?



This widget could not be displayed.

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?


This widget could not be displayed.

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

This widget could not be displayed.

The functionality has been added to Bamboo in version 5.13 

This widget could not be displayed.

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
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

256 views 1 3
Join discussion

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