title: How to select the parameter coming from script output and pass it to next script or job in Bamboo?
body: <p>I am trying to do below things in bamboo.I have script which basically shows the branches of hg repository.I know there is a plugin in Jenkins where you can run the script and get the output and use that output as a parameter to the job/script but I am not sure how to achieve this in Bamboo.Is there any plugin or some way to achieve this?</p>
  
  <p>script abc.py which gives the below output</p>
  
  <pre><code>a
  b
  c
  d
  e
  f
  g
  </code></pre>
  
  <p>I want this script will run and it will give me the above output and then I can select anyone of them and pass it to my script.The value of the createBranch should come from the script so I can select any one of them</p>
  
  <p><a href="https://i.stack.imgur.com/kHd5Z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kHd5Z.png" alt="enter image description here"></a></p>