Please note that in scenarios where multiple Issues are associated with a Case, the first Issue transitioned to 'Done' will Close the Case independent of the Status of the remaining related Issues, since the example does not check for the Status of remaining Issues.