Hello,
I have need to link many sub-tasks as "is dependent on" both within a story and across several stories within a single Epic. Currently I have automation to create all of the stories and sub-tasks when a certain Epic is created. However many of the sub-tasks need to be linked.
I have solved it by once the automation to create the stories and sub-tasks is complete, then doing JQL search by Summary to find each sub-task, creating a variable to hold each sub-task key and linking them. But there are about 40 sub-tasks and the automation seems cumbersome and takes a while to run.
I was wondering if there is a more efficient way to do this? Maybe with {{lookupIssues}}? to find the sub-tasks all at once?
Or would this be better as a Groovy script in Scriptrunner?
Thanks in advance!