Filter generator allows you to hide from your structure issues that don't pass certain criteria. You can use JQL, Text and S-JQL queries.

Once you add this generator, you will only see the items from the structure that pass the query and their parents. The parents are necessary to show the issues without breaking the hierarchy.

Additional Options