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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

160 views 2 0
Join discussion

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