How can I get the Sprint's Start and End date in JQL?


I would like to know how can I use the start date and end date in jql.

Thanks! Mage

7 answers

1 accepted

This answer is helpful, but doesn't directly solve the problem. For instance, I am trying to write a query that would show me all newly created issues since the Sprint began, to help in backlog grooming session. openSprints() does not help.

I want to know how to do this as well. My reasons are that I want to know how many tickets I've completed in another project during my Sprint's start and end dates. Something like:

project="Kanban" AND status was Resolved by currentUser() and resolved >= SprintXYX.startDate and  resolved <= SprintXYX.endDate


Something like this I would like to use also. 

Unfortunately I haven't find yet.

Any ideas where to look ? 

+1 for this, does anyone find the way to do this?

I just want to filter all issue has been resolved in currentSprint (issue is create in a Kanban board).

Current Sprint is easy, just use this:

resolution is not EMPTY and sprint in openSprints()

The hard part is picking a certain Sprint. Hopefully this helps. 

0 votes

Do you mean "sprinT"? I don't think you can fetch it with JQL off-the-shelf, but I think the script runner add-on would let you pull it out as a function.

is there any default add-on already available

is there any default add-on already available to use 

and the name of the add-on would be?

ScriptRunner have inSprint  etc ready made functions, but I did not manage to find way to use sprint start and end dates in JQL. 

Im trying to do similar as Completed outside of sprint function where sprint ID could be filled in like incomplete in sprint. 

0 votes

As a work-around, you can get the Sprint dates in PowerBI if you have that connected. 

Hi Arin,

I was looking to display  sprint start date and end date from JIRA to Power BI, can you please let me know how that can be done.

Thank you in advance.


Navira Shetty

0 votes
Akhil Som I'm New Here Sep 27, 2018

You can Try "Sprint Report" under Reports. It shows the start and end date of each sprints

Information is available in Jira (eg. in that page) , but I'm looking way to use it in JQL. 

Manual Copy-paste from page to JQL would not be an option in case you have many projects and sprints to handle. 

Like 1 person likes this

you can search for 'sprint' in the returned response - 

CTRL+F search for sprint - you may get the field which lists down 'sprint details' - ours is a custom_field with some ID, so in jql you can then filter using that field id - or just pull out data from the returned response , accessing dictionary and key as custom field ID



JQL search can be like - jiraURL/jira/rest/api/2/search?jql=Sprint='sprint_name'&fields=customfield_100&maxResults=400

Did not manage to find. 

Which page you mean - where I could find sprint details custom_field ID ?  

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,723 views 17 21
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