scrumboard query

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

0 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 21, 2018 in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

1,033 views 7 18
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