This behavior can be implemented by adding 3 post-functions to "Resolve Issue" transition in the blocker issues workflow:
Post-function Copy a parsed text to a field with the following configuration:
Post-function Copy a parsed text to a field with the following configuration:
Text to be parsed in advanced mode is: toString(filterByPredicate(linkedIssues("blocks"), count(filterByResolution(linkedIssues(^%{00015}, "is blocked by"), "")) = 0))
Note that:
Post-function Update issue fields with the following configuration:
Text to be parsed is: issuekey in (%{00062})
Once configured, transition "Resolve Issue" looks like this: