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!
Without seeing the specifics of the rule which creates the subtasks...
You might be able to use the Lookup Work Items action or the Story's smart value {{issue.subtasks}} to do this, and it depends upon two things:
Based on the 40 subtasks count, I expect any approach with a single rule will be difficult. Thus, I recommend investigating the external scripting approach.
Kind regards,
Bill
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.