Hello team,
In my project we had four Sub:task types: Claim, issue, basket and collect among those tasks i need to manage only one sub:task "basket" not created more than one to parent issue.
Here is the example:

We can see above screen shot the Basket Sub: task created twice but need to restrict only one
Note: we are using script runner in our organization
Please suggest me any suggestions.
Thanks,
Siva.