I am using a team project in Jira. My team uses a lot of sub-tasks, and often the parent task gets rolled over several sprints as sub-tasks are being completed. However, I still want to be able to track the items that are being completed in individuals sprints, and as the majority of these are subtasks I need to be able to query for a list of sub-tasks that were completed in a specific sprint (status changed from in progress to done).
This is what I have tried (2022-07-04) is standing in for the start date for the sprint that I am interested in)
project = "projectname" and issuetype = Subtask and resolution was EMPTY AFTER (2022-07-04) and resolution is not EMPTY
But it returns nothing even though I know there are sub-tasks completed in that data range. How can I do this?