how can I use conditions/validation in subtask to restrict transition based on status of parent ticket.
for e.g. until the parent ticket arrives in Testing status, the Testing subtask ticket should not be transitioned ahead.
Maybe this post can help you:
https://answers.atlassian.com/questions/293936
Hi Udo, Thanks for quick revert on this. I have gone through that post and tried as well, but it still doesn't work for some reason.
Can you give us more details, what exactly is not working?
I am using below script in the conditions of build subtask to restrict further transition, if the parent ticket is not in Build Status ! issue.isSubTask() || issue.parentObject.statusObject.name == "Build"
You can use a Conditioned validator. Condition allowing the transition only when the parant status is what you want.
It looks like you're new here. Sign in or register to get started.