Trying to create some ScriptRunner groovy scripting on CLOUD to loop through the subtasks of an issue and delete some of the subtasks basked on their status.
I found the server RESTAPI call to pull back the subtasks, but it doesn't work on CLOUD.
Server call: /rest/api/2/issue/ISSUE-144/subtask
Am I missing something here? Is there a new way to loop through subtasks on Cloud?