How do you filter on future sprints?

GreenHopper questions: I need to create a filter of all issues assigned to a team and are in future sprints that are not active yet. What is the cammand to filter on future sprints?

4 answers

This widget could not be displayed.

When Greenhopper v6.3 is released then you'll have access to a new futureSprints() JQL function.

That should address the limitation of using openSprints(s) that was pointed out by Whyves.

I do not know when GH v6.3 will be released.... but I am guessing "pretty soon".

This widget could not be displayed.

You can filter sprints by using openSprints() and closedSprints(). For example, the JQL query would be:

AND Sprint in openSprints()

But that will also include the issues in the current sprint, not only the "future" sprints but you could also add another portion to the JQL query to ignore the current sprints.

That doesn't include sprints that are not started.

This widget could not be displayed.

Bearing in mind that closedSprints() is quite broken, ie "not in closedSprints()" doesn't return issues that have no sprint defined...

A possible solution is:

project = SCA and sprint is not empty and issueFunction not in inSprint ("Some board name", "Backlog")

But you need to install the script runner plugin, and you need to provide the name of a scrum board to the function.

This widget could not be displayed.

In the meantime, you can add a label to each story and then create a filter for that label. You'll just need to remove the label after each new sprint starts. Obviously it's a manual process, but it may nto be too bad (depending on how many items you have for your future sprints).

Also, have you tried using the "Release" tag for your issues? If so, you should be able to create a filter that looks at all of the items that are within that release that are not in progress or closed (which should eliminate the previously completed sprints and the current sprint).

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,492 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