Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,556,244
Community Members
 
Community Events
184
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?

3 answers

1 accepted

16 votes
Answer accepted
Haran Kumar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 04, 2019

Hi @Mahadevan Hariharan 

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


Note: Replace test project with your project name. 


Hope this helps


Regards

Haran Kumar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 04, 2019

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 .


Regards

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. 

This doesn't actually reference the current sprint. It references all open sprints. This can be an issue if you create a sprint early for staging, but you don't start the sprint until it's ready to go. 

Thanks, @Haran Kumar This was very helpfully.

Prateek Sharma
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Apr 27, 2023

We can also try below Jql query, here we have removed closedSprint - the previous completed sprints & the future sprints. This Jql query gives you stories part of active sprint.

issuetype = Story AND Sprint not in (closedSprints(), futureSprints())

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events