How to create a filter that will refer to Active (current ) Sprint?

I am creating a JIRA filter with below code. It refers  to Sprint number (current Sprint ). I want to have a filter that always will show me list of issues in Active Sprint so that will have no need to create a separate Filter criteria for each new Sprint

 

project = XXX AND issuetype in (Bug, Improvement, Story) AND status in (Open, "In Progress", Reopened) AND Sprint = 65 ORDER BY issuetype DESC, cf[10008] DESC, Rank DESC

5 answers

You can do 

Sprint in openSprints()

openSprints is a collection of all open sprints. Constraining by project etc may be good enough. We have many projects and hence many sprints so we had to create our own currentSprint("XXX") JQL function.

There is also "closedSprints()" and "futureSprints()"

 

I just found a previous answer https://answers.atlassian.com/questions/199842

Hello Yana,

Please try the filter described here smile

Thanks a lot!!

Thanks! 

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 ...

2,943 views 12 18
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