when issues are created from a change request with an issue link: "is caused by", all linked issues are in resolved or done status before the original change request can be transition to resolved or done.
Note: We have to achieve this with only by using Script runner plugin. I need the script.