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, 

Brittany 

1 answer

0 vote

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,203 views 13 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot