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

7 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

Rob Brown I'm New Here Feb 07, 2019

Thanks!

1 vote
Rodrigo Rosa Atlassian Team Sep 29, 2015

Hello Yana,

Please try the filter described here smile

Thanks a lot!!

Thanks. 

Thanks! 

Thanks! :)

0 votes

THANK YOU!!!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 8 hours ago in Jira

How you can achieve compact and easy-to-maintain workflows in your JIRA( Server)

This approach requires you to have the JIRA administrative rights. The main aim of this article is to help you achieve an organized, easy-to-maintain workflows in your JIRA instance thereby, reducin...

101 views 0 0
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