Forums

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

What JQL can provide me with Issues added after the start of the current sprint?

Kyle Dengler
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!
October 23, 2023

How can I query Issues added after the start of the current sprint? Or added after the start of a particular sprint?

2 answers

1 accepted

4 votes
Answer accepted
Dave Liao
Community Champion
October 23, 2023

If you have ScriptRunner on your Jira instance, use the JQL function addedAfterSprintStart.

An example query would look like:

issueFunction in (addedAfterSprintStart(666))

where 666 would be the board ID with your active sprint. 😈

Related doc: https://docs.adaptavist.com/sr4js/latest/features/jql-functions/included-jql-functions/sprint

(for anyone else reading this, ScriptRunner for Jira Cloud has this feature too!)

Kyle Dengler
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!
October 23, 2023

This worked for me! 

Additionally are you able to use CurrentSprint or OpenSprints in the following way?

issueFunction in addedAfterSprintStart("Sprint Board", openSprints() ) 

instead of

issueFunction in addedAfterSprintStart("Sprint Board", "Sprint Name") 

Like • # people like this
Dave Liao
Community Champion
October 23, 2023

Good follow-up question!

You'll need to nest another issueFunction in dealy-o there.

Check out this post: https://community.atlassian.com/t5/Jira-questions/Proper-syntax-for-doing-quadruple-nested-issueFunction-JQL/qaq-p/1647631

I'm actually experimenting to see what the exact JQL is, because I'm curious myself...

Like • Angie Allen likes this
2 votes
Dave Liao
Community Champion
October 23, 2023

If you don't have ScriptRunner, read this thread and be depressed. There's no JQL for that (yet?).

Workaround: You can look up the Sprint Report for the sprint you want, on-demand. There'll be an asterisk (*) next to each issue added after a sprint start.

Related doc: https://confluence.atlassian.com/jirasoftwareserver/sprint-report-938845689.html

Suggest an answer

Log in or Sign up to answer