Filtering Tasks and their Subtasks in JIRA
On my JIRA sprint board at work, we've got a set of stories which have subtasks, which are then prioritised using JIRA's priority. However, to make standup a bit more effective, I set up a filter that could allow the team to look at stories that were highest priority first.
Unfortunately this didn't seem to work, as it seemed to filter away any of the subtasks that were present on the board by doing a filter based on:
(priority = Critical OR priority = Blocker)
However, I was able to find that using Udo Brand's suggestion, we can use
issueFunction in subtasksOf, as below, which now filters correctly:
(priority = Critical OR priority = Blocker) or (issueFunction in subtasksOf('priority = Critical OR priority = Blocker'))
As noted by Piotr Polak this is only available if you use the Script Runner JIRA plugin - sorry if you don't have that available.