Dear @Alexey Matveev
How are you? Hope you are doing great. Is there a way to write a scripted condition to add as a transition condition to allow only if all the task and sub-tasks are closed in an epic in a workflow.
Please let me get some help you. As always many thanks.
IssueLinkManager issueLinkManager = ComponentAccessor.issueLinkManager
def found = issueLinkManager.getOutwardLinks(issue.id).any
{
it?.destinationObject?.getStatus().getName() != "Closed" &&
it?.destinationObject?.getIssueType().getName() == 'Story'
}