title: How to parameterize Bamboo builds?
body: <p><strong>Please note</strong>, although my specific example here involves Java/Grails, it really applies to any type of task available in Bamboo.</p>
  
  <p>I have a task that is a part of a Bamboo build where I run a Java/Grails app like so:</p>
  
  <pre><code>grails run-app -Dgrails.env=&lt;ENV&gt;
  </code></pre>
  
  <p>Where "<code>&lt;ENV&gt;</code>" can be one of several values (<code>dev</code>, <code>prod</code>, <code>staging</code>, etc.). It would be nice to "parameterize" the plan so that, sometimes, it runs like so:</p>
  
  <pre><code>grails run-app -Dgrails.env=dev
  </code></pre>
  
  <p>And other times, it runs like so:</p>
  
  <pre><code>grails run-app -Dgrails.env=staging
  </code></pre>
  
  <p>etc. Is this possible, if so, how? And does the REST API allow me to specify parameter info so I can kick off different-parameterized builds using <code>cURL</code> or <code>wget</code>?</p>