I'm trying to figure out how to get a list of sub-tasks given a list of parent ids or keys and the sub-task summary contains certain text.
Each top level issue has a number of sub-tasks. Each sub-task summary follows a specific naming convention and part of the summary text is the same for each sub-task of each issue. I'm trying to generate a list of sub-tasks so that I can do a bulk change like setting the FixVersion.
Here is a sample idea using a SQL query
select sub-task where sub-task.parentID in ("xyz1","xyz2","xyz3") and sub-task.summary constains "text substring"
So far I've gotten the following JQL that executes with no errors, but also not getting any results.
project = XYZ AND issuetype = Sub-task AND issueFunction in parentsOf("Key=XYZ")