Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get all the Open sprints having the Sprint start date with a particular date using JQL

Bhargavi Vasa
Contributor
March 8, 2023

Can we get all open sprints created before 1 year in JIRA using JQL?

 

1 answer

0 votes
Mindaugas Dūda
Contributor
March 8, 2023

Hello @Bhargavi Vasa 

You can use following JQL:

sprint in openSprints() and created <= -365d order by created DESC

Regards,
Mindaugas

Bhargavi Vasa
Contributor
March 8, 2023

Will "created" fetch the sprint start date? or it's the issue creation date?

Mindaugas Dūda
Contributor
March 8, 2023

It's the issue creation date. Currently sprint start and end dates can not be searched by JQL. If you need these functions you might want to check app ScriptRunner for Jira by 
Adaptavist.

Bhargavi Vasa
Contributor
March 8, 2023

Can u help us with one thing , How can we close sprints which are more than an year old i.e created before 2022 , I need to close issues in that as well as the Sprint.

Can you suggest me the solution for this scenario using groovy

Mindaugas Dūda
Contributor
March 8, 2023

I'm sorry, not able to help you with groovy

Bhargavi Vasa
Contributor
March 9, 2023

Can u suggest if there is any other alternate solution?

Suggest an answer

Log in or Sign up to answer