It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

8 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

Like Hendryck Anthony likes this

Thank you! That helped!

Nick, unfortunately it does not work for me - what I receive is "An option provided by the function 'openSprints' for the field 'sprint' does not exist." 

 

It happens while using 

Sprint in openSprints()

P.S We are using Jira Cloud

i had that error when i used "=" instead of "in". Also in JIRA cloud

1 vote
Rodrigo Atlassian Team Sep 29, 2015

Hello Yana,

Please try the filter described here smile

Thanks a lot!!

Thanks. 

Thanks! 

Thanks! :)

THANK YOU!!!

0 votes

Thank you!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

308 views 1 3
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you