I have Jira project that has 2 issue types, Stories and Sub-tasks. The stories have components listed within them, but the sub-tasks do not. I have a rich filter dashboard that my team uses, and the issue i'm having is finding a way to make a filter for the sub-tasks that filters on the components of the parent stories.
I know I could make "issueFunction in subtasksOf("project=XYZ and Component=ABC")" type filters, but I what i need is a dropdown filter that:
1) lists all components in the project, even though those components aren't set on the issues in the base query
2) when a component is selected, shows the sub-tasks of any story using that component