title: Adaptavist Script Runner (Groovy) - Create subtask on click
body: <p>I´m a bit lost with the Adaptavist Script Runner for JIRA. </p>
  
  <p>I want to create several subtasks via a clickable button within an epic. </p>
  
  <p>I managed to create a subtask via script but I have not managed to find a solution where the user can click on something and then several subtasks are created at once.</p>
  
  <p>Anybody got a good solution for that?</p>
  
  <p>Thx!</p>