Advanced JQL Searching via Quick filters

Brittany Woerner April 13, 2017

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 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 17, 2017

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
TAGS
AUG Leaders

Atlassian Community Events