I can see a lot of examples of this for the ScriptRunner for the server version of Jira, but not the Cloud version of Jira.
When a parent task has been transitioned to 'Done', I want to transition the subtasks to 'Done'.
I am new to Jira Cloud and to ScriptRunner and I am trying to figure out how to do this.