I have a Jira Scrum board and when I use the following JQL query for it, I cannot see the epics or story points in the plan board:
Team in ("Team 1", "Team 2") AND labels in (sprint8-candidate) ORDER BY Rank ASC
but if a remove the label condition, then I can see the epics and story points:
Team in ("Team 1", "Team 2") ORDER BY Rank ASC
Can anyone explain why filtering by label would hide the epics and story points?
Update: as per Barnaby's comment, I can see the Epics if I change the query to include them:
(labels in (sprint8-candidate) OR type = Epic)
But I still can't see the story points per issue:
Update #2: the story point issue was because someone in my org has set up a second story point field and I was displaying the wrong one in the board Configuration Estimation settings.
Remember that in JIRA epics are just another issue type.
The query that selects based on labels is only going to associate issues to the board that have the label in them. If the epics don't have the label then they will be excluded.
You could add the label to the epics. But I'm not sure if this would be what you want.
It may also be possible to formulate the JQL to include all epics, but just the stories that have the label.