Hi, i'm struggling with making the right scrumboard filter-query. I want to see all open story's and there underlaying subtasks. I now use:

Team = "Team Self Service" AND status not in (Closed,Done,Resolved)

The downsite is that i don't see subtasks with status Closed, Done or Resolved.

How can the query be formed so i only see story's that are still open but it shows all underlaying subtasks, no matter there status.

1 answer

This widget could not be displayed.
Alexey Matveev Community Champion Jan 20, 2018

Hello,

You would need an add-on like Adaptivist ScriptRunner or Power Scripts. If you have Adaptivist scrptrunner you could write a JQL quiery like this

(Team = "Team Self Service" AND status not in (Closed,Done,Resolved)) or (issueFunction in subtasksOf("Team =\ "Team Self Service\" AND status not in (Closed,Done,Resolved)"))

If you have Power Scripts then you could create your own JQL function(for example, subtasks.sil) with a code like this

string [] keys = selectIssues(argv[0]);
string [] ret;
for(string k in keys) {
   if (size(subtasks(k)) > 0) {
         ret += k;
   }
    
}
return ret;

And then you could call it like this

key in silJQLList("subtasks.sil", "Team = \"Team Self Service\" AND status not in (Closed,Done,Resolved)"

You can find more examples on JQL functions in Power Scripts here

https://confluence.cprime.io/display/TR/Advanced+JQL+Searches

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Apr 22, 2018 in Jira Software

How-to setup a secured Jira Software 7.9.0 on Ubuntu 16.04.4 in less than 30 minutes

...PermissionsStartOnly=true User=www-data Group=www-data ExecStart=/opt/jira/bin/startup.sh ExecStop=/opt/jira/bin/shutdown.sh TimeoutStartSec=120 TimeoutStopSec=600 PrivateTmp=true [Install] WantedBy...

1,481 views 10 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