Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

how to refer the current sprint in the query?

I created a custom board to filter my tasks only for the active sprint.  everytime, i need to refresh the sprint in the board.  is there a constant that refers the active sprint so that I don't need to change everytime sprint advances?

2 answers

1 accepted

9 votes
Answer accepted

Hi @Mahadevan Hariharan 

Project = "test project" AND sprint in openSprints()

Note: Replace test project with your project name. 

Hope this helps


You can fine tune more with following Statement and so on, 

Project = "test project" AND sprint in openSprints() AND resolution = unresolved 

Note: Replace test project with your project name & use resolution key as per your terminology . It may be pending, unresolved , tobetaken anything. Kindly use accordingly .


Like # people like this

Thanks!  it works. openSprints() only works with "in" and not with "-"

When I use this query it does not pull in any user stories or tasks that have rolled over from previous sprints. How do I include those in my query?

@Aileen Leitner Buck - Is this still a problem for you?

I've just tried this on my JIRA board using the following...

project = MAJ AND Sprint in openSprints() Order by Rank ASC

We have quite a few +1 tickets that have rolled over from, e.g. Sprint 22 to 23 and these are visible for us.

Yes! @Nick Middleweek  Thank you so much for this answer. It's exactly what I was looking for. 

Thanks, @Haran Kumar This was very helpfully.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

An update on Jira Software customer feedback – June 2022

Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...

4,975 views 18 31
Read article

Atlassian Community Events