I have user stories in Jira with some labels A,B,C for example. But at subtasks level there is no labeling. Now I need to fetch count of all user stories of that label, their tasks and subtasks.
How can I get subtasks which have no labels but linked to labelled user stories?
You can use the following JQL if you have scriptrunner;
It both finds the subtasks, and linked issues of the story labeled as label1 and label2. It also filters the issues with own labels.