You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I'm looking to restrict the subtask creation to less than or equal to 10 using Automation for Jira plugin .Can any help me on that .
Thanks in advance .
You cannot do that using automation as automation is trigered by events. So it would required the user to create the subtask, check if there is less than 10 then delete the issue if it's not what you want to achieve I guess.
What you want is to prevent user to create a sub-task if there is already 10. I don't really know you want to implement such limitation but I would have try to do it using a validator from Scriptrunner for instance to achieve that.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Simple Script validator with this code
def passesCondition = trueif(issue.parentObject.getSubTaskObjects().size() >= 10){passesCondition = false}return passesCondition;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.