You can define a new dimension in the Advanced settings and use custom Javascript code to search through Milestone names in the Issue summaries and these values with lower-level issues of the Epics by updating them from the “epic_key”: JavaScript calculated custom fields
Check out this example of Javascript code to search through the summary:
And this Javascript on how to search for several given String values: