Advanced JQL Searching via Quick filters

For the Active Sprint quick filters I’d like a query that displays:

  • A users sub-tasks
  • To show unassigned sub-tasks for the stories which the user has a relation to (meaning the user has a sub-task or owns the story)
  • To show a users Done sub-tasks that were completed no more than 2 days prior to the current day


Thank you in advance for your time and support, 


1 answer

0 votes

You can do some of these natively with JIRA alone (numbers 1 and 3).  However #2 can't be done with just JIRA because natively JIRA does not have a way to relate parent to child in this way via JQL.  That is something that can be done if you happen to have scriptrunner though.  Scriptrunner has some scripted JQL functions described in Scripted JQL Functions that could help here.  However if not, there isn't a way to do so that I'm aware of.    

For each of these you will likely want to prepend the actual board filter to these so that you don't bring in other issues outside this project/board scope:

assignee=currentuser() and issuetype=subtask


assignee=unassigned and (subtasksOf(issuetype=story and assignee=currentuser()) OR subtasksOf(parentsOf(assignee=currentuser())))


issue=subtask and status=done and updated >= -2d

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 13, 2019 in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

633 views 0 12
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you