I am using a basic Scrum board with JIRA Software 7.0.10 and see all my stories and sub-task, however, when I apply a filter my sub-task aren't displayed.
Board Filter query: project = MOBI ORDER BY Rank ASC
Quick filters applied:
We have tried both the above where we have both an Epic Link and a Label, however, anytime we do these queries the stories are shown, but their sub-task are hidden. I want to see the sub-task too.
This works, project = MOBI AND issuetype(story, sub-task) ORDER BY Rank ASC, and always has for showing all issues on the board.
The issue is when adding a quick filter and saying don't give me any issues with a certain label I lose my subtask, which is also missing the subtask.
It looks like JIRA is much better at doing a positive search and finding all issues with a label, then finding issues that qualify and don't contain a label.
I'm not sure I understand the problem. Are you saying that your board shows you sub-tasks when you first visit it (i.e. project = MOBI), but they vanish when you apply the quickfilters?
If that is true, then I suspect it's behaving correctly - sub-tasks do not have an Epic link in the first case, so the filter drops them, and I guess they're not labelled with foobarbaz in the second.
Correct, but to be more clear these were two different attempts at getting the subtask to show up.
I get (now) that the subtask don't have an Epic Link so that won't work, however, when I apply a Quick Filter of Labels not in (foobarbaz) I see my original Stories without the label, but the subtask that also don't have the label are missing. How do I show the subtask for the stories without the label?
Oops, sorry, misread the second filter. Principle should be the same though, it should only hide those sub-tasks with that label.
However, my next thought is that you've run into the problem that "a simple yes or no question" always has three possible answers.
Could you pick out a subtask that should appear and does not and experiment with it? I think when you go to edit it, you will find that it has no labels at all. Could you add one (not foobarbaz, but something else)? Then refresh the board. My expectation is that it will appear now!
I think, using this article, https://answers.atlassian.com/questions/43298, we have it working now using this query:
labels not in (foobarbaz) OR ( issueFunction in subtasksOf("project = MOBI AND labels not in (foobarbaz)"))
This is getting us what we need now! Just a bit more then what we thought we had to do.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot