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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


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

Get all sprints in a project


I'd like to get all the sprints (and then the issues in the sprint) for a project through a groovy script. Any idea on how to do this? Can I do a JQL? 

2 answers

try this JQL


Sprint in (closedSprints(),openSprints()) AND project = "XYZ" 

Great suggestion but this returns all issues in those sprints. I am trying to return all SPRINTs and not issues

Like # people like this

In structure, group them by Sprint

Do you have a sample? Not sure what you mean?

I have a similar problem. But I can not use the "Sprint" field in my search query? I get the following error: "The operator 'in' is not supported by the 'Sprint' field."

Hi I just executed this query and was able to get results


sprint in (closedSprints())

Hi All,

but don't know where to enter the query to search for the sprints

Like sagarecosmob likes this

Suggest an answer

Log in or Sign up to answer