• Community
  • Products
  • Jira Core
  • Questions
  • How can we find out using JQL Query/script runner - what are the sprint cycles(i,e based on sprint end date) planned in a specific month in Jira?

How can we find out using JQL Query/script runner - what are the sprint cycles(i,e based on sprint end date) planned in a specific month in Jira?

How can we find out - what are the sprint cycles(i,e based on sprint end or start date) planned in a specific month in JIRA Agile Project using using JQL Query ?

1 answer

You'll probably need to write a custom scripted JQL function, if what you want is to query for issues whose sprints are in a given time frame. https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html 

Keep in mind, though, JQL queries return issues. If you want to get the Sprints themselves for some other purpose, you will probably need to return them from a REST endpoint or just the plain old Script Console.

However you decide to return the data, you'll also want to look at the guides on working with JIRA Software (formerly known as Agile, formerly known as Greenhopper). That will help you get the beans you need, like the SprintManager, so you can query for the sprints based on their date ranges. https://scriptrunner.adaptavist.com/latest/jira/plugins/working-with-jira-agile.html

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

667 views 4 15
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot